Sha256: bbe50ec3d4c0e1895db33ea4c55366d9f530cc0cc469e03a722ac98dc5d3e64b

Contents?: true

Size: 304 Bytes

Versions: 26

Compression:

Stored size: 304 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('62831853-tau-manifesto') }
  subject { command }

  its(:cmd) { should eq "open #{uri}" }
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
pivotal-github-1.2.2 spec/commands/story_open_spec.rb
pivotal-github-1.2.0 spec/commands/story_open_spec.rb
pivotal-github-1.1.7 spec/commands/story_open_spec.rb
pivotal-github-1.1.6 spec/commands/story_open_spec.rb
pivotal-github-1.1.5 spec/commands/story_open_spec.rb
pivotal-github-1.1.4 spec/commands/story_open_spec.rb
pivotal-github-1.1.3 spec/commands/story_open_spec.rb
pivotal-github-1.1.2 spec/commands/story_open_spec.rb
pivotal-github-1.1.1 spec/commands/story_open_spec.rb
pivotal-github-1.1.0 spec/commands/story_open_spec.rb
pivotal-github-1.0.12 spec/commands/story_open_spec.rb
pivotal-github-1.0.11 spec/commands/story_open_spec.rb
pivotal-github-1.0.10 spec/commands/story_open_spec.rb
pivotal-github-1.0.9 spec/commands/story_open_spec.rb
pivotal-github-1.0.8 spec/commands/story_open_spec.rb
pivotal-github-1.0.7 spec/commands/story_open_spec.rb
pivotal-github-1.0.6 spec/commands/story_open_spec.rb
pivotal-github-1.0.5 spec/commands/story_open_spec.rb
pivotal-github-1.0.4 spec/commands/story_open_spec.rb
pivotal-github-1.0.3 spec/commands/story_open_spec.rb