Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add compatibility for Cucumber 0.4

  • Loading branch information...
commit ee4e5b8afffa495fb63cacf0836123eb4458eb3b 1 parent 3ed15c0
@aslakhellesoy aslakhellesoy authored
View
6 History.txt
@@ -1,3 +1,9 @@
+== (In Git)
+
+ === Bugfixes
+
+ * bugfix: Add compatibility for Cucumber 0.4.
+
== 0.5.7 2009-06-17
=== Bugfixes
View
0  bin/spork 100644 → 100755
File mode changed
View
11 lib/spork/server/cucumber.rb
@@ -10,19 +10,10 @@ def port
def helper_file
CUCUMBER_HELPER_FILE
end
-
- attr_accessor :step_mother
- end
-
- def step_mother
- self.class.step_mother
end
def run_tests(argv, stderr, stdout)
require 'cucumber/cli/main'
- ::Cucumber::Cli::Main.step_mother = step_mother
- ::Cucumber::Cli::Main.new(argv, stdout, stderr).execute!(step_mother)
+ ::Cucumber::Cli::Main.new(argv, stdout, stderr).execute!(::Cucumber::StepMother.new)
end
end
-
-Spork::Server::Cucumber.step_mother = self
Please sign in to comment.
Something went wrong with that request. Please try again.