Permalink
Browse files

avoid absolute path for the rails.png in index.html

  • Loading branch information...
1 parent 3c81fc3 commit 78ad94aaa7b70fee6c8f49de04f26d4ec14fa162 @kennyj kennyj committed Nov 27, 2011
@@ -59,7 +59,7 @@
#header {
- background-image: url("/assets/rails.png");
+ background-image: url("assets/rails.png");
background-repeat: no-repeat;
background-position: top left;
height: 64px;
@@ -55,6 +55,7 @@ def test_assets
assert_file "app/views/layouts/application.html.erb", /javascript_include_tag\s+"application"/
assert_file "app/assets/stylesheets/application.css"
assert_file "config/application.rb", /config\.assets\.enabled = true/
+ assert_file "public/index.html", /url\("assets\/rails.png"\);/
end
def test_invalid_application_name_raises_an_error

0 comments on commit 78ad94a

Please sign in to comment.