aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/user_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index 51ccfccd3..17fa38d4a 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -90,8 +90,8 @@ RSpec.describe User, :type => :model do
expect(user.name).to eq('Alban Peignier')
expect(user.email).to eq('alban.peignier@af83.com')
- expect(user.updated_at.utc).to be_within(1.second).of Time.now
- expect(user.synced_at.utc).to be_within(1.second).of Time.now
+ expect(user.updated_at.utc).to be_within(3.second).of Time.now
+ expect(user.synced_at.utc).to be_within(3.second).of Time.now
end
it 'should update organisation assignement' do