spec/authority/configuration_spec.rb in authority-1.0.0 vs spec/authority/configuration_spec.rb in authority-1.1.0

- old
+ new

@@ -33,10 +33,10 @@ end end describe "customizing the configuration" do - before :all do + before :all do Authority.instance_variable_set :@configuration, nil Authority.configure do |config| config.abilities[:eat] = 'edible' config.default_strategy = Proc.new { |able, authorizer, user| true