Skip to content

Commit

Permalink
hide stdout by testing for it
Browse files Browse the repository at this point in the history
  • Loading branch information
drnic committed Nov 2, 2009
1 parent c59fb42 commit c28085d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/ui_spec.rb
Expand Up @@ -214,6 +214,7 @@
@command.should_receive(:git).with("fetch defunkt master:refs/remotes/defunkt/master").ordered
@command.should_receive(:git).with("update-ref refs/heads/defunkt/master refs/remotes/defunkt/master").ordered
@command.should_receive(:git_exec).with("checkout defunkt/master").ordered
stdout.should == "Fetching defunkt/master\n"
end
end

Expand Down

0 comments on commit c28085d

Please sign in to comment.