docs/testing.md in action_policy-0.2.3 vs docs/testing.md in action_policy-0.2.4

- old
+ new

@@ -92,10 +92,10 @@ let(:post) { build_stubbed(:post) } let(:policy) { described_class.new(post, user: user) } describe "#update?" do - subject { policy.update? } + subject { policy.apply(:update?) } it "returns false when the user is not admin nor author" do is_expected.to eq false end