aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures
diff options
context:
space:
mode:
authorjejacks0n <jejacks0n@gmail.com>2013-01-03 20:51:44 -0700
committerjejacks0n <jejacks0n@gmail.com>2013-01-10 13:41:52 -0700
commitf55ef82321c33a308c64e54c66b45e4fff542efa (patch)
treeb03852e20e717e0daeccf78eb2ccd00d5acdff86 /actionpack/test/fixtures
parent11f5debcd5bbfaf51d2d2f24f2c5cee38f37fcdb (diff)
downloadrails-f55ef82321c33a308c64e54c66b45e4fff542efa.tar.gz
rails-f55ef82321c33a308c64e54c66b45e4fff542efa.tar.bz2
rails-f55ef82321c33a308c64e54c66b45e4fff542efa.zip
Fixes issue where duplicate assets can be required with sprockets.
- addresses the problem by calling flatten on asset array before calling uniq. - adds note to CHANGELOG.
Diffstat (limited to 'actionpack/test/fixtures')
-rw-r--r--actionpack/test/fixtures/sprockets/app/javascripts/extra.js1
-rw-r--r--actionpack/test/fixtures/sprockets/app/stylesheets/extra.css1
2 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/sprockets/app/javascripts/extra.js b/actionpack/test/fixtures/sprockets/app/javascripts/extra.js
index e69de29bb2..e611d2b129 100644
--- a/actionpack/test/fixtures/sprockets/app/javascripts/extra.js
+++ b/actionpack/test/fixtures/sprockets/app/javascripts/extra.js
@@ -0,0 +1 @@
+//= require xmlhr
diff --git a/actionpack/test/fixtures/sprockets/app/stylesheets/extra.css b/actionpack/test/fixtures/sprockets/app/stylesheets/extra.css
index e69de29bb2..2365eaa4cd 100644
--- a/actionpack/test/fixtures/sprockets/app/stylesheets/extra.css
+++ b/actionpack/test/fixtures/sprockets/app/stylesheets/extra.css
@@ -0,0 +1 @@
+/*= require style */