Permalink
Browse files

Fix specs

  • Loading branch information...
1 parent 459b689 commit 5ca67f625d98482ec86d1547a18d0a6faf86d0b4 @drogus drogus committed Mar 15, 2011
Showing with 1 addition and 4 deletions.
  1. +1 −4 spec/server/cli_spec.rb
View
@@ -4,9 +4,6 @@
it "reads the configuration file, starts kirk, then redeploys" do
kirk "-c #{kirked_up_path}/Kirkfile" do |c|
c.stdout.gets.should =~ /INFO - jetty/
- c.stdout.gets.should =~ /INFO - started o.e.j.s.h.ContextHandler/
- c.stdout.gets.should =~ /INFO - started o.e.j.s.h.ContextHandler/
- c.stdout.gets.should =~ /INFO - started o.e.j.s.h.ContextHandler/
c.stdout.gets.should =~ /INFO - Started SelectChannelConnector@0\.0\.0\.0:9090/
get '/'
@@ -36,7 +33,7 @@
it "exits with an error if the config file does not exist" do
kirk do |c|
- c.stderr.read.chomp.should == "[ERROR] config file `/Users/carllerche/Developer/Source/kirk/Kirkfile` does not exist"
+ c.stderr.read.chomp.should =~ /\[ERROR\] config file `.*?\/Kirkfile` does not exist/
end
last_command.exit_status.should == 1

0 comments on commit 5ca67f6

Please sign in to comment.