Make tests inherit from ApplicationIntegrationTest class

This commit is contained in:
Maciej Szlosarczyk 2018-08-08 09:13:46 +03:00
parent 133a11977e
commit e1881685b7
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
2 changed files with 3 additions and 3 deletions

View file

@ -1,10 +1,10 @@
require 'test_helper'
class RegistrantApiAuthenticationTest < ActionDispatch::IntegrationTest
class RegistrantApiAuthenticationTest < ApplicationIntegrationTest
def setup
super
@user_hash = {ident: '37010100049', first_name: 'Adam', last_name: 'Baker'}
@user_hash = { ident: '37010100049', first_name: 'Adam', last_name: 'Baker' }
@existing_user = RegistrantUser.find_or_create_by_api_data(@user_hash)
end