spec/gitx/cli/integrate_command_spec.rb in gitx-3.1.2 vs spec/gitx/cli/integrate_command_spec.rb in gitx-3.2.0.ci.231.1
- old
+ new
@@ -17,9 +17,10 @@
let(:local_branch_names) { ['feature-branch'] }
let(:authorization_token) { '123123' }
before do
allow(cli).to receive(:current_branch).and_return(current_branch)
+ allow(cli).to receive(:github_slug).and_return('wireframe/gitx')
branches = double('fake branches')
allow(branches).to receive(:each_name).with(:local).and_return(local_branch_names)
allow(branches).to receive(:each_name).with(:remote).and_return(remote_branch_names)
allow(repo).to receive(:branches).and_return(branches)
allow(cli).to receive(:authorization_token).and_return(authorization_token)