Sha256: 3f1d7615c99a645782b73a2bb6ee2a72fdc95a1a326dbb6c02f0ad2eeba87d50

Contents?: true

Size: 543 Bytes

Versions: 7

Compression:

Stored size: 543 Bytes

Contents

require 'spec_helper'

describe Commands::Feature do

  before(:each) do
    # stub out git config requests
    Commands::Feature.any_instance.stubs(:get).with { |v| v =~ /git config/ }.returns("")

    @feature = Commands::Feature.new
  end
  
  it "should specify its story type" do
    @feature.type.should == "feature"
  end
  
  it "should specify a plural for its story types" do
    @feature.plural_type.should == "features"
  end
  
  it "should specify its branch suffix" do
    @feature.branch_suffix.should == "feature"
  end
  
end

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
git-pivotal-tracker-centro-1.0.0.rc3 spec/commands/feature_spec.rb
git-pivotal-tracker-centro-1.0.0.rc2 spec/commands/feature_spec.rb
git-pivotal-tracker-centro-1.0.0.rc1 spec/commands/feature_spec.rb
git-pivotal-tracker-0.9.1 spec/commands/feature_spec.rb
git-pivotal-tracker-0.9.0 spec/commands/feature_spec.rb
git-pivotal-0.8.2 spec/commands/feature_spec.rb
git-pivotal-0.8.0 spec/commands/feature_spec.rb