test/runner_test.rb in hydra-0.22.2 vs test/runner_test.rb in hydra-0.23.0
- old
+ new
@@ -78,12 +78,9 @@
should "run two cucumber tests" do
# because of all the crap cucumber pulls in
# 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)
assert_equal "HYDRA", File.read(target_file)