Skip to content

Commit

Permalink
Remove ruby 1.9 hash syntax in spec
Browse files Browse the repository at this point in the history
Required to prevent spec from blowing up under REE
  • Loading branch information
stevenwilkin committed Apr 5, 2013
1 parent 8b7acc5 commit 995197a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/savon/options_spec.rb
Expand Up @@ -38,7 +38,7 @@


it "ignores namespace identifier if it is nil" do it "ignores namespace identifier if it is nil" do
client = new_client(:endpoint => @server.url(:repeat), :namespace_identifier => nil) client = new_client(:endpoint => @server.url(:repeat), :namespace_identifier => nil)
response = client.call(:authenticate, message: {user: 'foo'}) response = client.call(:authenticate, :message => {:user => 'foo'})


expect(response.http.body).to include('xmlns="http://v1_0.ws.auth.order.example.com/"') expect(response.http.body).to include('xmlns="http://v1_0.ws.auth.order.example.com/"')
expect(response.http.body).to include("<authenticate><user>foo</user></authenticate>") expect(response.http.body).to include("<authenticate><user>foo</user></authenticate>")
Expand Down

0 comments on commit 995197a

Please sign in to comment.