Skip to content

Commit

Permalink
fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
kostya committed May 18, 2014
1 parent 14c95f4 commit 5c1764b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/cli/render_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def history_string(*args)
controller.load(fixture("dsl/load.eye"))
str = history_string('*')
str.should be_a(String)
str.size.should > 100
str.size.should >= 80
end

end
2 changes: 1 addition & 1 deletion spec/process/dependency_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
@process_a.states_history.states.should == [:unmonitored, :starting, :up, :down, :starting, :up]
@process_b.states_history.states.should == [:unmonitored, :starting, :up, :restarting, :stopping, :down, :starting, :up]

@process_a.schedule_history.states.should == [:monitor, :start, :check_crash, :restore, :start]
@process_a.schedule_history.states[0,4].should == [:monitor, :start, :check_crash, :restore]
@process_b.schedule_history.states.should == [:monitor, :restart]
end

Expand Down

0 comments on commit 5c1764b

Please sign in to comment.