Sha256: 997ef58646be7dab095a1a3953b1363922a6145c927d5843c3b9b8b64d4d98f2
Contents?: true
Size: 500 Bytes
Versions: 5
Compression:
Stored size: 500 Bytes
Contents
require 'spec_helper' describe StoryPullRequest do let(:command) { StoryPullRequest.new } before { command.stub(:story_branch).and_return('6283185-tau-manifesto') } before do command.stub(:origin_uri).and_return('https://github.com/mhartl/foo') end subject { command } its(:cmd) { should == "open #{command.uri}" } describe "command-line command" do subject { `bin/git-story-pull-request --debug` } it { should =~ /pull\/new/ } it { should_not =~ /\.git/ } end end
Version data entries
5 entries across 5 versions & 1 rubygems