test/access/member_test.rb in access-2.0.46 vs test/access/member_test.rb in access-2.0.47
- old
+ new
@@ -20,14 +20,14 @@
end
end
def test_member_update
VCR.use_cassette('member update success') do
- request = Access::Member.update '226872', program_id: '2412', api_environment: 'stage', birth_date: Date.today
+ request = Access::Member.update '226872', program_id: '2412', api_environment: 'stage', birth_date: '2016-01-01'
assert request.success
assert_kind_of Access::MemberResponse, request
assert_kind_of Hash, request.response
- assert_equal request.response["birth_date"], Date.today.to_s
+ assert_equal request.response["birth_date"], '2016-01-01'
end
end
end