Skip to content

Commit

Permalink
Merge pull request #79 from chrisarcand/remove-test-output
Browse files Browse the repository at this point in the history
Remove unwanted CLI output from tests
  • Loading branch information
chrisarcand committed May 12, 2016
2 parents 65a034e + 2526efe commit afc3dc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/octopolo/github/pull_request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ module GitHub

it "calls GitHub.pull_requests with the current repo/branch and return a single pull request" do
Git.should_receive(:current_branch) { branch_name }
CLI.should_receive(:say).with("Pull request for current branch is number #{pr_number}")
GitHub.should_receive(:search_issues) { double(total_count: 1, items: [pull]) }
PullRequest.current.should == pull
end
Expand Down

0 comments on commit afc3dc9

Please sign in to comment.