Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix another spec with thor any_instance

  • Loading branch information...
commit 929edd1b53fb4955e77429efc7b745d267ea8d7b 1 parent 6407cb3
Rob Sanheim authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/nachos/cli_spec.rb
2  spec/nachos/cli_spec.rb
View
@@ -37,8 +37,8 @@
end
it "displays info from main" do
+ Nachos::CLI.any_instance.stubs(:main).returns(mock(:info => "info here"))
cli = Nachos::CLI.new
- cli.stubs(:main).returns(mock(:info => "info here"))
cli.invoke(:info)
cli.shell.output.should include("info here")
end
Please sign in to comment.
Something went wrong with that request. Please try again.