From dd25eac9970eb908164d079e2ebc8ce75052af18 Mon Sep 17 00:00:00 2001 From: Nick Gauthier Date: Fri, 22 Oct 2010 16:11:22 -0400 Subject: [PATCH] bumped cucumber version requirement --- Rakefile | 2 +- hydra.gemspec | 8 ++++---- test/runner_test.rb | 3 --- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/Rakefile b/Rakefile index 481ecaa..dc2a4ef 100644 --- a/Rakefile +++ b/Rakefile @@ -12,7 +12,7 @@ begin gem.authors = ["Nick Gauthier"] gem.add_development_dependency "shoulda", "= 2.10.3" gem.add_development_dependency "rspec", "= 2.0.0.beta.19" - gem.add_development_dependency "cucumber", "= 0.8.5" + gem.add_development_dependency "cucumber", "= 0.9.2" gem.add_development_dependency "therubyracer", "= 0.7.4" end Jeweler::GemcutterTasks.new diff --git a/hydra.gemspec b/hydra.gemspec index 9732524..7c26561 100644 --- a/hydra.gemspec +++ b/hydra.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |s| s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Nick Gauthier"] - s.date = %q{2010-09-07} + s.date = %q{2010-10-22} s.default_executable = %q{warmsnake.rb} s.description = %q{Spread your tests over multiple machines to test your code faster.} s.email = %q{nick@smartlogicsolutions.com} @@ -114,18 +114,18 @@ Gem::Specification.new do |s| if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then s.add_development_dependency(%q, ["= 2.10.3"]) s.add_development_dependency(%q, ["= 2.0.0.beta.19"]) - s.add_development_dependency(%q, ["= 0.8.5"]) + s.add_development_dependency(%q, ["= 0.9.2"]) s.add_development_dependency(%q, ["= 0.7.4"]) else s.add_dependency(%q, ["= 2.10.3"]) s.add_dependency(%q, ["= 2.0.0.beta.19"]) - s.add_dependency(%q, ["= 0.8.5"]) + s.add_dependency(%q, ["= 0.9.2"]) s.add_dependency(%q, ["= 0.7.4"]) end else s.add_dependency(%q, ["= 2.10.3"]) s.add_dependency(%q, ["= 2.0.0.beta.19"]) - s.add_dependency(%q, ["= 0.8.5"]) + s.add_dependency(%q, ["= 0.9.2"]) s.add_dependency(%q, ["= 0.7.4"]) end end diff --git a/test/runner_test.rb b/test/runner_test.rb index a23bcdd..7f25acb 100644 --- a/test/runner_test.rb +++ b/test/runner_test.rb @@ -80,9 +80,6 @@ class RunnerTest < Test::Unit::TestCase # we run this in a fork to not contaminate # the main test environment pid = Process.fork do - # need to get into the fixtures directory so cucumber doesn't load up the whole project - Dir.chdir(File.join(File.dirname(__FILE__), 'fixtures')) - runner = Hydra::Runner.new(:io => File.new('/dev/null', 'w')) runner.run_file(cucumber_feature_file) assert File.exists?(target_file)