spec/cucumber/rake/forked_spec.rb in cucumber-1.2.2 vs spec/cucumber/rake/forked_spec.rb in cucumber-1.2.3

- old
+ new

@@ -22,25 +22,12 @@ it "does use bundler if bundler is set to true" do subject.use_bundler.should be_true end it "uses bundle exec to find cucumber and libraries" do - bundle_cmd = Gem.default_exec_format % 'bundle' - subject.cmd.should == [Cucumber::RUBY_BINARY, '-S', - bundle_cmd, - 'exec', - 'cucumber', - '--cuke-option'] + feature_files - end - - it "obeys program suffix for bundler" do - Gem::ConfigMap.stub(:[]).with(:ruby_install_name).and_return('XrubyY') - - subject.cmd.should == [Cucumber::RUBY_BINARY, - '-S', - 'XbundleY', + 'bundle', 'exec', 'cucumber', '--cuke-option'] + feature_files end