Skip to content

Commit

Permalink
Resolve test response issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nd4p90x committed May 28, 2024
1 parent bc16068 commit d993c8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gem-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
packages: write

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
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,6 +19,8 @@ class Analytics

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

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

Expand Down

0 comments on commit d993c8e

Please sign in to comment.