spec/support/data.rb in rolify-4.0.0 vs spec/support/data.rb in rolify-4.1.0
- old
+ new
@@ -1,9 +1,9 @@
# Users
-[ User, Customer, Admin::Moderator ].each do |user|
+[ User, Customer, Admin::Moderator, StrictUser ].each do |user|
user.destroy_all
-
+
user.create(:login => "admin")
user.create(:login => "moderator")
user.create(:login => "god")
user.create(:login => "zombie")
end
@@ -23,6 +23,6 @@
Team.create(:team_code => "1", :name => "PSG")
Team.create(:team_code => "2", :name => "MU")
Organization.create
-Company.create
\ No newline at end of file
+Company.create