spec/authority/authorizer_spec.rb in authority-1.1.0 vs spec/authority/authorizer_spec.rb in authority-2.0.0

- old
+ new

@@ -51,14 +51,11 @@ end describe "the default method" do - it "should call the configured `default_strategy` proc by default" do - Authority.configuration.default_strategy.should_receive(:call).with( - :implodable, Authority::Authorizer, @user - ) - Authority::Authorizer.default(:implodable, @user) + it "should return false" do + Authority::Authorizer.default(:implodable, @user).should be_false end end end