spec/octopolo/github/pull_request_spec.rb in octopolo-1.2.0 vs spec/octopolo/github/pull_request_spec.rb in octopolo-1.2.1

- old
+ new

@@ -296,9 +296,10 @@ Octopolo.config.stub(:github_repo) { repo_name } end 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 it "returns nil when Git.current_branch fails" do