spec/shenandoah/buildr/locator_spec.rb in shenandoah-0.1.0 vs spec/shenandoah/buildr/locator_spec.rb in shenandoah-0.1.1
- old
+ new
@@ -23,11 +23,11 @@
@loc.tmp_path.should == "#{tmpdir}/target/shenandoah"
end
it "allows main to be overriden with test.using" do |variable|
p = define('another', :base_dir => tmpdir) do
- test.using :main_path => "foo"
+ test.using :main_path => "/foo"
end
- Shenandoah::Buildr::Locator.new(p).main_path.should == "foo"
+ Shenandoah::Buildr::Locator.new(p).main_path.should == "/foo"
end
end