pipeline_toolkit 1.2.8 → 1.2.9

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -94,7 +94,8 @@ msg_sink acknowledges all messages.
94
94
 
95
95
  Pipeline toolkit also includes pre-canned cucumber steps for you to test your machines with. The following steps are included:
96
96
 
97
- Given I run this machine:
97
+ Given I run this machine with acknowledgements:
98
+ Given I run this machine without acknowledgements:
98
99
  When I input these messages:
99
100
  When I input these messages with ack_ids:
100
101
  Then these messages are passed on:
@@ -1,7 +1,7 @@
1
1
 
2
- Given /^I run this machine:$/ do |command|
2
+ Given /^I run this machine with(out)? acknowledgements:$/ do |without_acks, command|
3
3
  @process = PipelineToolkit::Cucumber::Machine.new
4
- @process.run(command)
4
+ @process.run(command, !without_acks)
5
5
  end
6
6
 
7
7
  # Clean up backround processes after each scenario
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 2
8
- - 8
9
- version: 1.2.8
8
+ - 9
9
+ version: 1.2.9
10
10
  platform: ruby
11
11
  authors:
12
12
  - Aisha Fenton