lib/pundit/matchers.rb in pundit-matchers-1.5.0 vs lib/pundit/matchers.rb in pundit-matchers-1.5.1
- old
+ new
@@ -1,9 +1,16 @@
require 'rspec/core'
-require 'pundit/matchers/configuration'
module Pundit
module Matchers
+ class Configuration
+ attr_accessor :user_alias
+
+ def initialize
+ @user_alias = :user
+ end
+ end
+
class << self
def configure
yield(configuration)
end