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 44c94ce commit bad6777
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions spec/segment/analytics/message_batch_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ 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")
expect { Message }.to raise_error("Message Exceeded Maximum Allowed Size")
end
end

Expand Down

0 comments on commit bad6777

Please sign in to comment.