test/test_helper.rb in fiveruns-dash-ruby-0.7.5 vs test/test_helper.rb in fiveruns-dash-ruby-0.7.6

- old
+ new

@@ -44,9 +44,10 @@ end @recipes = [] @recipes << Fiveruns::Dash::Recipe.new(:foo, :url => 'http://foo.com') @recipes << Fiveruns::Dash::Recipe.new(:foo2, :url => 'http://foo2.com') @metrics << @metric_class.new("NonCustomMetric") { 2 } + @metrics << @metric_class.new("BadMetric") { raise ArgumentError } @configuration = flexmock(:configuration) do |mock| mock.should_receive(:metrics).and_return(@metrics) mock.should_receive(:recipes).and_return(@recipes) end end