features/drb_server_integration.feature in kosmas58-cucumber-0.3.11.3 vs features/drb_server_integration.feature in kosmas58-cucumber-0.3.11.6

- old
+ new

@@ -2,12 +2,12 @@ To prevent waiting for Rails and other large Ruby applications to load their environments for each feature run Cucumber ships with a DRb client that can speak to a server which loads up the environment only once. Background: App with Spork support - Spork is a gem that has a DRb server and the scenarios below use illustarate how to use it. - However, any DRb server that adheres to the protocol that the client expects would work. + Spork is a gem that has a DRb server and the scenarios below illustrate how to use it. + However, any DRb server that adheres to the protocol that the client expects would work. Given a standard Cucumber project directory structure And a file named "features/support/env.rb" with: """ require 'rubygems' @@ -33,14 +33,15 @@ # no-op end """ Scenario: Feature Passing with --drb flag - Given I am running "spork cuc" in the background + Given I am running spork in the background When I run cucumber features/sample.feature --drb Then it should pass + And STDERR should be empty And the output should contain """ 1 step (1 passed) """ And the output should contain @@ -57,10 +58,10 @@ """ Given /^I am just testing stuff$/ do raise "Oh noes!" end """ - And I am running "spork cuc" in the background + And I am running spork in the background When I run cucumber features/sample.feature --drb Then it should fail And the output should contain """