Skip to content

Commit

Permalink
Merge pull request #155 from mezis/fix-for-ruby-240
Browse files Browse the repository at this point in the history
Fixes Fixnum v Integer in MRI 2.4.0
  • Loading branch information
krisleech committed Jan 20, 2017
2 parents aba24c9 + 85aa6c8 commit d9a1216
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ rvm:
- '2.1.10'
- '2.2.6'
- '2.3.3'
- '2.4.0'
- jruby-9.1.6.0
# - rbx-2
### ALLOWED FAILURES ###
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/wisper/broadcasters/logger_broadcaster_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ module Broadcasters
let(:number) { 10 }

it 'logs published event and arguments' do
expect(logger).to receive(:info).with("[WISPER] Publisher#1 published thing_created to Listener#2 with Fixnum##{number.object_id}: 10")
expect(logger).to receive(:info).with("[WISPER] Publisher#1 published thing_created to Listener#2 with #{number.class.name}##{number.object_id}: 10")
subject.broadcast(listener, publisher, event, args)
end
end
Expand Down

0 comments on commit d9a1216

Please sign in to comment.