spec/authority/configuration_spec.rb in authority-0.9.0 vs spec/authority/configuration_spec.rb in authority-1.0.0.pre2
- old
+ new
@@ -10,10 +10,10 @@
it "should return false when calling the default authorization strategy block" do
Authority.configuration.default_strategy.call(:action, Authority::Authorizer, User.new).should be_false
end
it "should have a default authority controller actions map" do
- Authority.configuration.authority_actions.should be_a(Hash)
+ Authority.configuration.controller_action_map.should be_a(Hash)
end
it "should have a default controller method for accessing the user object" do
Authority.configuration.user_method.should eq(:current_user)
end