Skip to content

Commit

Permalink
test: update decorator_class spec
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Aug 29, 2023
1 parent e2985e7 commit 125ae00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/pact_broker/api/resources/all_resources_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module Resources
end

it "does not unintentionally override the decorator_class(name) method with a method that accepts no args" do
expect(resource.method(:decorator_class).arity).to eq 1
expect(resource.method(:decorator_class).owner).to eq PactBroker::Api::Resources::BaseResource
end

describe "malformed_request?" do
Expand Down

0 comments on commit 125ae00

Please sign in to comment.