diff options
Diffstat (limited to 'test/app_test.rb')
| -rw-r--r-- | test/app_test.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/test/app_test.rb b/test/app_test.rb index 19678fd..1fc1073 100644 --- a/test/app_test.rb +++ b/test/app_test.rb @@ -23,7 +23,7 @@ class AppTest < HCl::TestCase      app = HCl::App.new      throttled = states('throttled').starts_as(false)      app.expects(:show). -      raises(HCl::HarvestMiddleware::ThrottleFailure, {headers:{'Retry-After' => 42}}). +      raises(HCl::HarvestMiddleware::ThrottleFailure, {response_headers:{'retry-after' => 42}}).        then(throttled.is(true))      app.expects(:sleep).with(47).when(throttled.is(true))      app.expects(:show).when(throttled.is(true)) | 
