mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 11:16:00 +02:00
Remove unnecessary teardown step
This commit is contained in:
parent
b622f5f040
commit
771f9b20a9
7 changed files with 0 additions and 19 deletions
|
@ -47,7 +47,5 @@ class AuthTokenCreatorTest < ActiveSupport::TestCase
|
|||
token_creator_with_defaults = AuthTokenCreator.create_with_defaults(@user)
|
||||
assert_equal(Rails.application.config.secret_key_base, token_creator_with_defaults.key)
|
||||
assert_equal('2010-07-05 02:30:00 UTC', token_creator_with_defaults.expires_at)
|
||||
|
||||
travel_back
|
||||
end
|
||||
end
|
||||
|
|
|
@ -18,12 +18,6 @@ class AuthTokenDecryptorTest < ActiveSupport::TestCase
|
|||
@access_token = "q27NWIsKD5snWj9vZzJ0RcOYvgocEyu7H9yCaDjfmGi54sogovpBeALMPWTZHMcdFQzSiq6b4cI0p5tO0_5UEOHic2jRzNW7mkhi-bn-Y2Wlnw7jhMpxw6VwJR8QEoDzjkcNxnKBN6OKF4nssa60ZQ=="
|
||||
end
|
||||
|
||||
def teardown
|
||||
super
|
||||
|
||||
travel_back
|
||||
end
|
||||
|
||||
def test_decrypt_token_returns_a_hash_when_token_is_valid
|
||||
decryptor = AuthTokenDecryptor.new(@access_token, @key)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue