lib/acfs/stub.rb in acfs-0.20.0.dev.b184 vs lib/acfs/stub.rb in acfs-0.20.0

- old
+ new

@@ -96,10 +96,10 @@ return false unless (classes = stubs[op.resource]) return false unless (stubs = classes[op.action]) accepted_stubs = stubs.select { |stub| stub.accept? op } - raise AmbiguousStubError.new stubs: accepted_stubs, operation: op if accepted_stubs.size > 1 + raise AmbiguousStubError.new accepted_stubs, op if accepted_stubs.size > 1 accepted_stubs.first end def stubbed(op)