Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
nd4p90x committed May 28, 2024
1 parent 78bf82e commit f26d642
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions spec/segment/analytics/message_batch_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ class Analytics

subject << message
expect(subject.length).to eq(0)

end

it 'raises' do
expect { MessageBatch }.to raise_error("Message Exceeded Maximum Allowed Size")
expect { raise StandardError }.to raise_error("Message Exceeded Maximum Allowed Size")
end
end

Expand Down

0 comments on commit f26d642

Please sign in to comment.