test/access/user_test.rb in access-2.0.44 vs test/access/user_test.rb in access-2.0.46
- old
+ new
@@ -40,11 +40,11 @@
request = Access::User.authenticate email: 'ben@test.com', password: 'password', api_environment: 'stage'
assert request.success
assert_kind_of Access::UserResponse, request
assert_kind_of Array, request.users
assert_equal 1, request.users.count
- assert_kind_of Access::User, request.users.first
+ assert_kind_of Access::Member, request.users.first
end
end
def test_authenticate_failure
VCR.use_cassette('member authenticate failure') do
@@ -62,10 +62,10 @@
request = Access::User.authenticate_by_cvt cvt: '6fa6c66c4edc07b767f147a6e5fc614c20797ef0', api_environment: 'stage'
assert request.success
assert_kind_of Access::UserResponse, request
assert_kind_of Array, request.users
assert_equal 1, request.users.count
- assert_kind_of Access::User, request.users.first
+ assert_kind_of Access::Member, request.users.first
end
end
def test_authenticate_cvt_failure
VCR.use_cassette('member authenticate cvt failure') do