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 b4506dd commit 78bf82e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec/segment/analytics/message_batch_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ class Analytics

subject << message
expect(subject.length).to eq(0)
expect { subject }.to raise_error("Message Exceeded Maximum Allowed Size")

end

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

Expand Down

0 comments on commit 78bf82e

Please sign in to comment.