Skip to content
Browse files

fixed ruby 1.9 hash syntax in specs

  • Loading branch information...
1 parent ca971a9 commit 284535baa0859d3135a583015d7edea336971012 @rubiii rubiii committed Mar 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/savon/operation_spec.rb
View
2 spec/savon/operation_spec.rb
@@ -56,7 +56,7 @@ def new_operation(operation_name, wsdl, globals)
describe "#build" do
it "returns the Builder" do
operation = new_operation(:verify_address, wsdl, globals)
- builder = operation.build(message: { test: 'message' })
+ builder = operation.build(:message => { :test => 'message' })
expect(builder).to be_a(Savon::Builder)
expect(builder.to_s).to include('<tns:VerifyAddress><tns:test>message</tns:test></tns:VerifyAddress>')

0 comments on commit 284535b

Please sign in to comment.
Something went wrong with that request. Please try again.