bumped cucumber version requirement
This commit is contained in:
parent
3faf03e15b
commit
dd25eac997
2
Rakefile
2
Rakefile
|
@ -12,7 +12,7 @@ begin
|
||||||
gem.authors = ["Nick Gauthier"]
|
gem.authors = ["Nick Gauthier"]
|
||||||
gem.add_development_dependency "shoulda", "= 2.10.3"
|
gem.add_development_dependency "shoulda", "= 2.10.3"
|
||||||
gem.add_development_dependency "rspec", "= 2.0.0.beta.19"
|
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"
|
gem.add_development_dependency "therubyracer", "= 0.7.4"
|
||||||
end
|
end
|
||||||
Jeweler::GemcutterTasks.new
|
Jeweler::GemcutterTasks.new
|
||||||
|
|
|
@ -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.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||||
s.authors = ["Nick Gauthier"]
|
s.authors = ["Nick Gauthier"]
|
||||||
s.date = %q{2010-09-07}
|
s.date = %q{2010-10-22}
|
||||||
s.default_executable = %q{warmsnake.rb}
|
s.default_executable = %q{warmsnake.rb}
|
||||||
s.description = %q{Spread your tests over multiple machines to test your code faster.}
|
s.description = %q{Spread your tests over multiple machines to test your code faster.}
|
||||||
s.email = %q{nick@smartlogicsolutions.com}
|
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
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
||||||
s.add_development_dependency(%q<shoulda>, ["= 2.10.3"])
|
s.add_development_dependency(%q<shoulda>, ["= 2.10.3"])
|
||||||
s.add_development_dependency(%q<rspec>, ["= 2.0.0.beta.19"])
|
s.add_development_dependency(%q<rspec>, ["= 2.0.0.beta.19"])
|
||||||
s.add_development_dependency(%q<cucumber>, ["= 0.8.5"])
|
s.add_development_dependency(%q<cucumber>, ["= 0.9.2"])
|
||||||
s.add_development_dependency(%q<therubyracer>, ["= 0.7.4"])
|
s.add_development_dependency(%q<therubyracer>, ["= 0.7.4"])
|
||||||
else
|
else
|
||||||
s.add_dependency(%q<shoulda>, ["= 2.10.3"])
|
s.add_dependency(%q<shoulda>, ["= 2.10.3"])
|
||||||
s.add_dependency(%q<rspec>, ["= 2.0.0.beta.19"])
|
s.add_dependency(%q<rspec>, ["= 2.0.0.beta.19"])
|
||||||
s.add_dependency(%q<cucumber>, ["= 0.8.5"])
|
s.add_dependency(%q<cucumber>, ["= 0.9.2"])
|
||||||
s.add_dependency(%q<therubyracer>, ["= 0.7.4"])
|
s.add_dependency(%q<therubyracer>, ["= 0.7.4"])
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
s.add_dependency(%q<shoulda>, ["= 2.10.3"])
|
s.add_dependency(%q<shoulda>, ["= 2.10.3"])
|
||||||
s.add_dependency(%q<rspec>, ["= 2.0.0.beta.19"])
|
s.add_dependency(%q<rspec>, ["= 2.0.0.beta.19"])
|
||||||
s.add_dependency(%q<cucumber>, ["= 0.8.5"])
|
s.add_dependency(%q<cucumber>, ["= 0.9.2"])
|
||||||
s.add_dependency(%q<therubyracer>, ["= 0.7.4"])
|
s.add_dependency(%q<therubyracer>, ["= 0.7.4"])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -80,9 +80,6 @@ class RunnerTest < Test::Unit::TestCase
|
||||||
# we run this in a fork to not contaminate
|
# we run this in a fork to not contaminate
|
||||||
# the main test environment
|
# the main test environment
|
||||||
pid = Process.fork do
|
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 = Hydra::Runner.new(:io => File.new('/dev/null', 'w'))
|
||||||
runner.run_file(cucumber_feature_file)
|
runner.run_file(cucumber_feature_file)
|
||||||
assert File.exists?(target_file)
|
assert File.exists?(target_file)
|
||||||
|
|
Loading…
Reference in New Issue