trollolo 0.0.12 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,12 +7,6 @@ describe Scrum::BacklogMover do
7
7
  expect(subject).to be
8
8
  end
9
9
 
10
- it "fails without moving if backlog list is missing waterline or seabed", vcr: "move_backlog_missing_waterbed", vcr_record: false do
11
- expect {
12
- subject.move("neUHHzDo", "NzGCbEeN")
13
- }.to raise_error("backlog list on planning board is missing waterline or seabed card")
14
- end
15
-
16
10
  it "fails without moving if sprint backlog is missing from sprint board", vcr: "move_backlog_missing_backlog", vcr_record: false do
17
11
  expect {
18
12
  subject.move("neUHHzDo", "NzGCbEeN")
@@ -8,8 +8,20 @@ describe Scrum::SprintCleaner do
8
8
  end
9
9
 
10
10
  it "moves remaining cards to target board", vcr: "sprint_cleanup", vcr_record: false do
11
- expect(STDOUT).to receive(:puts).exactly(12).times
12
- expect(subject.cleanup("NzGCbEeN", "neUHHzDo")).to be
11
+ expect(STDOUT).to receive(:puts).exactly(13).times
12
+ expect(subject.cleanup("7Zar7bNm", "72tOJsGS")).to be
13
+ end
14
+
15
+ context "given correct burndown-data-xx.yaml" do
16
+ before do
17
+ allow_any_instance_of(BurndownChart).to receive(:update)
18
+ end
19
+
20
+ it "generates new burndown data", vcr: "sprint_cleanup", vcr_record: false do
21
+ expect {
22
+ subject.cleanup("7Zar7bNm", "72tOJsGS")
23
+ }.to output(/^(New burndown data was generated automatically)/).to_stdout
24
+ end
13
25
  end
14
26
 
15
27
  context "with non-existing target list on target board" do
@@ -19,7 +31,7 @@ describe Scrum::SprintCleaner do
19
31
 
20
32
  it "throws error", vcr: "sprint_cleanup", vcr_record: false do
21
33
  expect {
22
- subject.cleanup("NzGCbEeN", "neUHHzDo")
34
+ subject.cleanup("7Zar7bNm", "72tOJsGS")
23
35
  }.to raise_error /'Nonexisting List' not found/
24
36
  end
25
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trollolo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cornelius Schumacher
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-13 00:00:00.000000000 Z
11
+ date: 2017-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -86,6 +86,8 @@ files:
86
86
  - lib/trollolo.rb
87
87
  - lib/version.rb
88
88
  - man/.gitignore
89
+ - man/trollolo.1
90
+ - man/trollolo.1.html
89
91
  - man/trollolo.1.md
90
92
  - scripts/.gitignore
91
93
  - scripts/burndowndata.py
@@ -187,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
187
189
  version: 1.3.6
188
190
  requirements: []
189
191
  rubyforge_project: trollolo
190
- rubygems_version: 2.6.11
192
+ rubygems_version: 2.6.13
191
193
  signing_key:
192
194
  specification_version: 4
193
195
  summary: Trello command line client