Skip to content
This repository has been archived by the owner on Feb 7, 2018. It is now read-only.

Commit

Permalink
Fix a failing spec that stubs CommandLine. instead of CommandLine#
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-burns committed Mar 16, 2012
1 parent cccc67a commit 2391d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/cocaine/command_line_spec.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@


it "should keep result code in #exitstatus" do it "should keep result code in #exitstatus" do
cmd = Cocaine::CommandLine.new("convert") cmd = Cocaine::CommandLine.new("convert")
cmd.class.stubs(:"`").with("convert").returns(:correct_value) cmd.stubs(:"`").with("convert").returns(:correct_value)
with_exitstatus_returning(1) do with_exitstatus_returning(1) do
cmd.run rescue nil cmd.run rescue nil
end end
Expand Down

0 comments on commit 2391d9f

Please sign in to comment.