Permalink
Browse files

Add compatibility for Cucumber 0.4

  • Loading branch information...
1 parent 3ed15c0 commit ee4e5b8afffa495fb63cacf0836123eb4458eb3b @aslakhellesoy aslakhellesoy committed Aug 12, 2009
Showing with 7 additions and 10 deletions.
  1. +6 −0 History.txt
  2. 0 bin/spork
  3. +1 −10 lib/spork/server/cucumber.rb
View
@@ -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
No changes.
@@ -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

0 comments on commit ee4e5b8

Please sign in to comment.