spec/unit/action_spec.rb in siren_client-0.2.0 vs spec/unit/action_spec.rb in siren_client-0.2.1
- old
+ new
@@ -81,10 +81,10 @@
end
end
describe '.where(params)' do
it 'executes the action without any parameters' do
# I'm expecting an error here, all I want to see is that the url it being traversed.
- expect { action.where }.to raise_error
+ expect { action.where }.to raise_error SirenClient::InvalidResponseError
end
# The rest will be tested in the live specs.
end
end