Skip to content

Commit

Permalink
create result correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
auxesis committed Nov 23, 2009
1 parent e541c44 commit 704d6de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/check_backends/datamapper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

# the bad check doesn't have failing parents
raw_result = {:check_id => bad.id, :retval => 2}
result = Flapjack::QueueBackends::Result.new(:job => true, :result => raw_result)
result = Flapjack::QueueBackends::Result.new(:result => raw_result)
backend.any_parents_failed?(result).should be_false

bad.status = 2
Expand Down

0 comments on commit 704d6de

Please sign in to comment.