git_pivotal_tracker 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile +1 -1
- data/lib/git_pivotal_tracker/info.rb +1 -1
- data/lib/git_pivotal_tracker/version.rb +1 -1
- data/spec/git_pivotal_tracker/info_spec.rb +18 -0
- metadata +4 -2
data/Gemfile
CHANGED
@@ -0,0 +1,18 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), '..', 'spec_helper')
|
2
|
+
|
3
|
+
describe GitPivotalTracker::Story do
|
4
|
+
describe "#run!" do
|
5
|
+
context "given no story ID is found" do
|
6
|
+
before do
|
7
|
+
stub_git_config
|
8
|
+
@subject = GitPivotalTracker::Info.new
|
9
|
+
@subject.stub!(:story_id).and_return(nil)
|
10
|
+
end
|
11
|
+
|
12
|
+
it "fails" do
|
13
|
+
@subject.run!.should == 1
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: git_pivotal_tracker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Ben Lindsey
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-07-
|
13
|
+
date: 2011-07-19 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -101,6 +101,7 @@ files:
|
|
101
101
|
- spec/fixtures/story.xml
|
102
102
|
- spec/git_pivotal_tracker/base_spec.rb
|
103
103
|
- spec/git_pivotal_tracker/finish_spec.rb
|
104
|
+
- spec/git_pivotal_tracker/info_spec.rb
|
104
105
|
- spec/git_pivotal_tracker/story_spec.rb
|
105
106
|
- spec/spec_helper.rb
|
106
107
|
has_rdoc: true
|
@@ -140,5 +141,6 @@ test_files:
|
|
140
141
|
- spec/fixtures/story.xml
|
141
142
|
- spec/git_pivotal_tracker/base_spec.rb
|
142
143
|
- spec/git_pivotal_tracker/finish_spec.rb
|
144
|
+
- spec/git_pivotal_tracker/info_spec.rb
|
143
145
|
- spec/git_pivotal_tracker/story_spec.rb
|
144
146
|
- spec/spec_helper.rb
|