aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/public/elsewhere
diff options
context:
space:
mode:
authorChristos Zisopoulos <christos@42linesofcode.com>2009-05-29 15:42:44 +0200
committerMichael Koziarski <michael@koziarski.com>2009-06-26 16:47:15 +1200
commit18a97a66017452dbe6cf6881c69d7a7dedc7a7bd (patch)
tree627920ffa4d8f0083b17ea91811b6d946230f3e7 /actionpack/test/fixtures/public/elsewhere
parent8ee60660cec54f008ddaa54a4e8e06d099d8c7f5 (diff)
downloadrails-18a97a66017452dbe6cf6881c69d7a7dedc7a7bd.tar.gz
rails-18a97a66017452dbe6cf6881c69d7a7dedc7a7bd.tar.bz2
rails-18a97a66017452dbe6cf6881c69d7a7dedc7a7bd.zip
Handle missing javascript/stylesheets assets by raising an exception
An exception will be raised if a local javascript/stylesheet file included by the stylesheet_link_tag or javascript_include_tag can not be found. When caching is enabled, we use atomic_write to ensure that the cache file is not created with zero length. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2738 state:committed]
Diffstat (limited to 'actionpack/test/fixtures/public/elsewhere')
-rw-r--r--actionpack/test/fixtures/public/elsewhere/cools.js1
-rw-r--r--actionpack/test/fixtures/public/elsewhere/file.css1
2 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/public/elsewhere/cools.js b/actionpack/test/fixtures/public/elsewhere/cools.js
new file mode 100644
index 0000000000..6e12fe29c4
--- /dev/null
+++ b/actionpack/test/fixtures/public/elsewhere/cools.js
@@ -0,0 +1 @@
+// cools.js \ No newline at end of file
diff --git a/actionpack/test/fixtures/public/elsewhere/file.css b/actionpack/test/fixtures/public/elsewhere/file.css
new file mode 100644
index 0000000000..6aea0733b1
--- /dev/null
+++ b/actionpack/test/fixtures/public/elsewhere/file.css
@@ -0,0 +1 @@
+/*file.css*/ \ No newline at end of file