test/access/verify_test.rb in access-2.0.48 vs test/access/verify_test.rb in access-2.0.49

- old
+ new

@@ -1,19 +1,19 @@ require './test/test_helper' class VerifyTest < Minitest::Test def test_verify_token - VCR.use_cassette('verify token') do + VCR.use_cassette('verify/token') do verify_response = Access::Verify.token assert verify_response.success assert_kind_of Access::VerifyResponse, verify_response assert_kind_of Access::Verify, verify_response.oauth_access_token end end def test_verify_filter - VCR.use_cassette('verify filter') do + VCR.use_cassette('verify/filter') do single_filter = '{"program_filter": {"offers": [{"or":[{"terms":{"categories.category_key":[ 39, 1007, 1008, 1009, 1010, 1011, 1012 ] } }, {"terms":{"categories.category_parent_key":[ 39, 1007, 1008, 1009, 1010, 1011, 1012]} } ]}, {"not": {"or": [{"terms":{"categories.category_key":[ 1007 ] } }, {"terms":{"categories.category_parent_key":[ 1007 ] } } ] } } ] } }' verify_response = Access::Verify.filter single_filter assert verify_response.success assert_kind_of Access::VerifyResponse, verify_response assert_kind_of Access::Verify, verify_response.categories