diff options
author | Yuri Artemev <i@artemeff.com> | 2013-07-08 19:13:01 +0400 |
---|---|---|
committer | Yuri Artemev <i@artemeff.com> | 2013-07-08 19:13:01 +0400 |
commit | dd996ad394057a003ad851ff75e6242d0c5e8fa1 (patch) | |
tree | d71f4f40b540b2da5b474e7064aeeaf4a2274183 /railties/test | |
parent | 4be2003778cdfe06ccaaa2a19040e0cf82dcdde3 (diff) | |
download | rails-dd996ad394057a003ad851ff75e6242d0c5e8fa1.tar.gz rails-dd996ad394057a003ad851ff75e6242d0c5e8fa1.tar.bz2 rails-dd996ad394057a003ad851ff75e6242d0c5e8fa1.zip |
handle notes in *.sass files
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/rake/notes_test.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/railties/test/application/rake/notes_test.rb b/railties/test/application/rake/notes_test.rb index 3508f4225a..9a92c5f6ff 100644 --- a/railties/test/application/rake/notes_test.rb +++ b/railties/test/application/rake/notes_test.rb @@ -24,6 +24,7 @@ module ApplicationTests app_file "app/assets/javascripts/application.js", "// TODO: note in js" 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/controllers/application_controller.rb", 1000.times.map { "" }.join("\n") << "# TODO: note in ruby" app_file "lib/tasks/task.rake", "# TODO: note in rake" @@ -46,9 +47,10 @@ module ApplicationTests assert_match(/note in js/, output) assert_match(/note in css/, output) assert_match(/note in scss/, output) + assert_match(/note in sass/, output) assert_match(/note in rake/, output) - assert_equal 9, lines.size + assert_equal 10, lines.size lines.each do |line| assert_equal 4, line[0].size |