Commit 8a9001fd09a002864a0c6adb8368dc174b938c71

Authored by Bob Lail
1 parent 5d17e1e9
Exists in master and in 1 other branch production

bugfix: set 'component' and 'action' for factory-

made notices so that their 'where' attribute
matches spec expectations.
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
spec/factories/err_factories.rb
@@ -24,6 +24,7 @@ Factory.define :notice do |n| @@ -24,6 +24,7 @@ Factory.define :notice do |n|
24 n.message 'FooError: Too Much Bar' 24 n.message 'FooError: Too Much Bar'
25 n.backtrace { random_backtrace } 25 n.backtrace { random_backtrace }
26 n.server_environment 'environment-name' => 'production' 26 n.server_environment 'environment-name' => 'production'
  27 + n.request {{ 'component' => 'foo', 'action' => 'bar' }}
27 n.notifier 'name' => 'Notifier', 'version' => '1', 'url' => 'http://toad.com' 28 n.notifier 'name' => 'Notifier', 'version' => '1', 'url' => 'http://toad.com'
28 end 29 end
29 30