This repository has been archived by the owner. It is now read-only.
Browse files

Fix a failing spec that stubs CommandLine.` instead of CommandLine#`

  • Loading branch information...
mike-burns committed Mar 16, 2012
1 parent cccc67a commit 2391d9f3abc196573d0adff35b60588dfd671ace
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/cocaine/command_line_spec.rb
@@ -144,7 +144,7 @@
it "should keep result code in #exitstatus" do
cmd ="convert")
- cmd.class.stubs(:"`").with("convert").returns(:correct_value)
+ cmd.stubs(:"`").with("convert").returns(:correct_value)
with_exitstatus_returning(1) do rescue nil

0 comments on commit 2391d9f

Please sign in to comment.