spec/shenandoah/rails/tasks_spec.rb in shenandoah-0.1.0 vs spec/shenandoah/rails/tasks_spec.rb in shenandoah-0.1.1
- old
+ new
@@ -24,9 +24,9 @@
Shenandoah::Rails::Tasks.new(:main_path => "app/js").locator.
main_path.should == "#{tmpdir}/rails/app/js"
end
it "uses the explicitly provided locator over all others" do
- loc = Shenandoah::DefaultLocator.new(:main_path => 'foo')
- Shenandoah::Rails::Tasks.new(:locator => loc).locator.main_path.should == 'foo'
+ loc = Shenandoah::DefaultLocator.new(:main_path => '/foo')
+ Shenandoah::Rails::Tasks.new(:locator => loc).locator.main_path.should == '/foo'
end
end
\ No newline at end of file