features/step_definitions/cli_steps.rb in visage-app-2.0.5 vs features/step_definitions/cli_steps.rb in visage-app-2.1.0
- old
+ new
@@ -18,11 +18,11 @@
Then /^a visage web server should be running$/ do
`ps -eo cmd |grep ^visage`.size.should > 0
end
Then /^I should see "([^"]*)" on the terminal$/ do |string|
- output = @pipe.read(250)
+ output = @pipe.read(350)
output.should =~ /#{string}/
end
Given /^there is no file at "([^"]*)"$/ do |filename|
FileUtils.rm_f(filename).should be_true
@@ -40,7 +40,7 @@
Then /^I should see a file at "([^"]*)"$/ do |filename|
File.exists?(filename).should be_true
end
Then /^show me the output$/ do
- puts @pipe.read(250)
+ puts @pipe.read(350)
end