spec/shelly/cli/runner_spec.rb in shelly-0.0.60 vs spec/shelly/cli/runner_spec.rb in shelly-0.0.61
- old
+ new
@@ -57,9 +57,10 @@
{"required_version" => "0.0.48"}))
runner = Shelly::CLI::Runner.new(%w(login))
$stdout.should_receive(:puts).with("Required shelly gem version: 0.0.48")
$stdout.should_receive(:puts).with("Your version: #{Shelly::VERSION}")
$stdout.should_receive(:puts).with("Update shelly gem with `gem install shelly`")
+ $stdout.should_receive(:puts).with("or `bundle update shelly` when using bundler")
lambda {
runner.start
}.should raise_error(SystemExit)
end