Sha256: 26272f3e99d013129c84975f5d2e92593d45bb8d64cf43905bc322ef3a2ac40e
Contents?: true
Size: 462 Bytes
Versions: 19
Compression:
Stored size: 462 Bytes
Contents
require 'spec_helper' describe StoryOpen do let(:command) { StoryOpen.new } let(:uri) { "https://www.pivotaltracker.com/story/show/#{command.story_id}" } before { command.stub(:story_branch).and_return('6283185-tau-manifesto') } subject { command } its(:cmd) { should == "open #{uri}" } describe "command-line command" do subject { `bin/story-open --debug` } it { should =~ /open https:\/\/www.pivotaltracker.com\/story\/show/ } end end
Version data entries
19 entries across 19 versions & 1 rubygems