fix most deprecations in the specs (still some left)

This commit is contained in:
Régis Hanol
2014-09-25 17:44:48 +02:00
parent dd5872eecb
commit de76b512c1
121 changed files with 859 additions and 856 deletions

View File

@@ -28,7 +28,7 @@ describe UserUpdater do
user = Fabricate(:user)
updater = described_class.new(acting_user, user)
expect(updater.update).to be_true
expect(updater.update).to be_truthy
end
end
@@ -38,7 +38,7 @@ describe UserUpdater do
user.stubs(save: false)
updater = described_class.new(acting_user, user)
expect(updater.update).to be_false
expect(updater.update).to be_falsey
end
end