Sha256: 2842532bd60e222395890ba4ef9722ff7083379c7ab80edd1c2849a05ac62016
Contents?: true
Size: 506 Bytes
Versions: 7
Compression:
Stored size: 506 Bytes
Contents
require 'spec_helper' describe Commands::Bug do before(:each) do # stub out git config requests Commands::Bug.any_instance.stubs(:get).with { |v| v =~ /git config/ }.returns("") @bug = Commands::Bug.new end it "should specify its story type" do @bug.type.should == "bug" end it "should specify a plural for its story types" do @bug.plural_type.should == "bugs" end it "should specify its branch suffix" do @bug.branch_suffix.should == "bugfix" end end
Version data entries
7 entries across 7 versions & 3 rubygems