Sha256: c8a327d838dfa13399ee4ead6e20a17de176238138a4676583eed886f061a6ef
Contents?: true
Size: 295 Bytes
Versions: 3
Compression:
Stored size: 295 Bytes
Contents
require "spec_helper" describe Savon::Hooks::Hook do let(:hook) { lambda {} } describe "#call" do it "calls the hook" do hook = Savon::Hooks::Hook.new(:my_hook, :soap_request, &hook) hook.expects(:call).with(:arg1, :arg2) hook.call(:arg1, :arg2) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
savon-1.2.0 | spec/savon/hooks/hook_spec.rb |
savon-1.1.0 | spec/savon/hooks/hook_spec.rb |
savon-1.0.0 | spec/savon/hooks/hook_spec.rb |