Sha256: 6370f87c049e4d01537a7f18f178713c642d99d2cadad56ee03e956f13018072

Contents?: true

Size: 303 Bytes

Versions: 2

Compression:

Stored size: 303 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}" }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pivotal-github-0.8.0 spec/commands/story_open_spec.rb
pivotal-github-0.7.0 spec/commands/story_open_spec.rb