spec/unit/reflection_spec.rb in bulldog-0.0.15 vs spec/unit/reflection_spec.rb in bulldog-0.1.0
- old
+ new
@@ -101,11 +101,11 @@
Thing.has_attachment :photo do
url "/configured/url"
end
end
- it "should return the URL prefixed with the public path" do
- reflection.path_template.should == ":public_path/configured/url"
+ it "should return the URL prefixed with the root" do
+ reflection.path_template.should == ":root/configured/url"
end
end
end
describe "#url_template" do