diff options
Diffstat (limited to 'spec/controllers/import/bitbucket_controller_spec.rb')
-rw-r--r-- | spec/controllers/import/bitbucket_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/import/bitbucket_controller_spec.rb b/spec/controllers/import/bitbucket_controller_spec.rb index ab4f6d5054c..d44edb63635 100644 --- a/spec/controllers/import/bitbucket_controller_spec.rb +++ b/spec/controllers/import/bitbucket_controller_spec.rb @@ -27,7 +27,7 @@ describe Import::BitbucketController do end it "updates access token" do - expires_at = Time.now + 1.day + expires_at = Time.current + 1.day expires_in = 1.day access_token = double(token: token, secret: secret, |