Upgrade Rails to version 5.2.1 and adopt code & specs where necessary
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
This commit is contained in:
@ -75,7 +75,7 @@ let(:exercise) { FactoryBot.build(:dummy) }
|
||||
|
||||
[@admin, @teacher].each do |user|
|
||||
[true, false].each do |public|
|
||||
FactoryBot.create(:dummy, public: public, user_id: user.id, user_type: InternalUser.class.name)
|
||||
FactoryBot.create(:dummy, public: public, user_id: user.id, user_type: InternalUser.name)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user