Sha256: 23c9252245b96ece9020cdfb5778d6d4043fcf5d02b8f0bde38ec7048dac6dc1
Contents?: true
Size: 398 Bytes
Versions: 6
Compression:
Stored size: 398 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', 'spec_helper') describe GitPivotalTracker::Story do describe "#run!" do context "given no story ID is found" do before do stub_git_config @subject = GitPivotalTracker::Info.new @subject.stub!(:story_id).and_return(nil) end it "fails" do @subject.run!.should == 1 end end end end
Version data entries
6 entries across 6 versions & 2 rubygems