Skip to content

Commit

Permalink
Change error message for recent versions of Ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Mar 3, 2020
1 parent 8ee2163 commit 74f4a67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/receiver/base_spec.rb
Expand Up @@ -57,7 +57,7 @@ def transform(params)
end

it 'should raise an error if the argument is invalid' do
expect{ klass.parse(1) }.to raise_error(ArgumentError, "Can't handle Fixnum input")
expect{ klass.parse(1) }.to raise_error(ArgumentError, "Can't handle Integer input")
end

it 'should accept a Rack::Request object' do
Expand Down

0 comments on commit 74f4a67

Please sign in to comment.