aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/rake/notes_test.rb
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-08-15 03:36:47 -0700
committerYves Senn <yves.senn@gmail.com>2013-08-15 03:36:47 -0700
commitbd493b954c67f52354761da0c7abee9a468b4e0c (patch)
tree181ce04a4bfc26dd2753cfe52775c13ad9a3cee9 /railties/test/application/rake/notes_test.rb
parente90f0e0eb68825b7a07e2f468272a138107154c3 (diff)
parentf3073773a31d2a6a4f3946dc706a31400c0f53a0 (diff)
downloadrails-bd493b954c67f52354761da0c7abee9a468b4e0c.tar.gz
rails-bd493b954c67f52354761da0c7abee9a468b4e0c.tar.bz2
rails-bd493b954c67f52354761da0c7abee9a468b4e0c.zip
Merge pull request #11900 from onlymejosh/add_less_to_rake_todos
Adding LESS to rake notes
Diffstat (limited to 'railties/test/application/rake/notes_test.rb')
-rw-r--r--railties/test/application/rake/notes_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/test/application/rake/notes_test.rb b/railties/test/application/rake/notes_test.rb
index 9a92c5f6ff..46ed500167 100644
--- a/railties/test/application/rake/notes_test.rb
+++ b/railties/test/application/rake/notes_test.rb
@@ -25,6 +25,7 @@ module ApplicationTests
app_file "app/assets/stylesheets/application.css", "// TODO: note in css"
app_file "app/assets/stylesheets/application.css.scss", "// TODO: note in scss"
app_file "app/assets/stylesheets/application.css.sass", "// TODO: note in sass"
+ app_file "app/assets/stylesheets/application.css.less", "// TODO: note in less"
app_file "app/controllers/application_controller.rb", 1000.times.map { "" }.join("\n") << "# TODO: note in ruby"
app_file "lib/tasks/task.rake", "# TODO: note in rake"
@@ -48,6 +49,7 @@ module ApplicationTests
assert_match(/note in css/, output)
assert_match(/note in scss/, output)
assert_match(/note in sass/, output)
+ assert_match(/note in less/, output)
assert_match(/note in rake/, output)
assert_equal 10, lines.size