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 +2 -1
- data/lib/pipeline_toolkit/cucumber/machine_steps.rb +2 -2
- metadata +2 -2
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
|