Skip to content
Browse files

better error message

  • Loading branch information...
1 parent 5ceaa3c commit 428f7fd4cd9ecf2e60e5968400f7325067b96e74 @rodolfoliviero rodolfoliviero committed Dec 11, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/vraptor-scaffold/runner/start.rb
  2. +1 −1 spec/vraptor-scaffold/runner/start_spec.rb
View
2 lib/vraptor-scaffold/runner/start.rb
@@ -20,7 +20,7 @@ def validate
Kernel::exit
end
unless ENV['APPENGINE_SDK_HOME']
- Kernel.puts "To run vraptor start, configure the env var APPENGINE_SDK_HOME."
+ Kernel.puts "To run vraptor start, configure environment variable APPENGINE_SDK_HOME."
Kernel::exit
end
end
View
2 spec/vraptor-scaffold/runner/start_spec.rb
@@ -43,7 +43,7 @@
it "should not run vraptor start" do
File.stub!(:exist?).and_return(true)
Configuration.stub!(:orm).and_return("objectify")
- Kernel.should_receive(:puts).with("To run vraptor start, configure the env var APPENGINE_SDK_HOME.")
+ Kernel.should_receive(:puts).with("To run vraptor start, configure environment variable APPENGINE_SDK_HOME.")
lambda { @start.new.run nil }.should raise_error(SystemExit)
end
end

0 comments on commit 428f7fd

Please sign in to comment.
Something went wrong with that request. Please try again.