test/api_key_test.rb in fastly-0.97 vs test/api_key_test.rb in fastly-0.98
- old
+ new
@@ -30,10 +30,10 @@
end
def test_current_user_and_customer
current_user = current_customer = nil
- assert_raise(Fastly::Error) {
+ assert_raise(Fastly::FullAuthRequired) {
current_user = @fastly.current_user
}
assert_equal nil, current_user
customer = @fastly.current_customer