Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
nd4p90x committed May 28, 2024
1 parent 9b190dd commit 44c94ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/segment/analytics/message_batch_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ class Analytics

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

it 'raises messages that exceed the maximum allowed size' do
expect { MessageBatch.new }.to raise_error("Message Exceeded Maximum Allowed Size")
end
end
Expand Down

0 comments on commit 44c94ce

Please sign in to comment.