Skip to content

Commit 5c1764b

Browse files
committed
fix specs
1 parent 14c95f4 commit 5c1764b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

spec/cli/render_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def history_string(*args)
7878
controller.load(fixture("dsl/load.eye"))
7979
str = history_string('*')
8080
str.should be_a(String)
81-
str.size.should > 100
81+
str.size.should >= 80
8282
end
8383

8484
end

spec/process/dependency_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
@process_a.states_history.states.should == [:unmonitored, :starting, :up, :down, :starting, :up]
206206
@process_b.states_history.states.should == [:unmonitored, :starting, :up, :restarting, :stopping, :down, :starting, :up]
207207

208-
@process_a.schedule_history.states.should == [:monitor, :start, :check_crash, :restore, :start]
208+
@process_a.schedule_history.states[0,4].should == [:monitor, :start, :check_crash, :restore]
209209
@process_b.schedule_history.states.should == [:monitor, :restart]
210210
end
211211

0 commit comments

Comments
 (0)