spec/spec_helper.rb in pundit-1.0.0 vs spec/spec_helper.rb in pundit-1.0.1
- old
+ new
@@ -91,13 +91,13 @@
end
end
end
end
-class DashboardPolicy < Struct.new(:user, :dashboard); end
+class CriteriaPolicy < Struct.new(:user, :criteria); end
module Project
- class DashboardPolicy < Struct.new(:user, :dashboard); end
+ class CriteriaPolicy < Struct.new(:user, :criteria); end
end
class DenierPolicy < Struct.new(:user, :record)
def update?
false