test/api_key_test.rb in fastly-1.1.3 vs test/api_key_test.rb in fastly-1.1.4
- old
+ new
@@ -24,11 +24,10 @@
customer = @client.get('/current_customer')
assert customer
assert_equal @opts[:customer], customer['name']
end
-
def test_current_user_and_customer
current_user = current_customer = nil
assert_raise(Fastly::FullAuthRequired) {
current_user = @fastly.current_user
}
@@ -36,10 +35,9 @@
customer = @fastly.current_customer
assert customer
assert_equal @opts[:customer], customer.name
end
-
def test_purging
#assert @fastly.purge('foo')
# TODO Won't work until we get fixtures in Heavenly
#assert @fastly.purge_all('foo')