From 8a9001fd09a002864a0c6adb8368dc174b938c71 Mon Sep 17 00:00:00 2001 From: Bob Lail Date: Sun, 11 Sep 2011 10:45:40 -0500 Subject: [PATCH] bugfix: set 'component' and 'action' for factory- made notices so that their 'where' attribute matches spec expectations. --- spec/factories/err_factories.rb | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/spec/factories/err_factories.rb b/spec/factories/err_factories.rb index c35d32a..5980b08 100644 --- a/spec/factories/err_factories.rb +++ b/spec/factories/err_factories.rb @@ -24,6 +24,7 @@ Factory.define :notice do |n| n.message 'FooError: Too Much Bar' n.backtrace { random_backtrace } n.server_environment 'environment-name' => 'production' + n.request {{ 'component' => 'foo', 'action' => 'bar' }} n.notifier 'name' => 'Notifier', 'version' => '1', 'url' => 'http://toad.com' end -- libgit2 0.21.2