diff options
author | Brent J. Nordquist <brent@nordist.net> | 2012-10-08 06:41:31 -0500 |
---|---|---|
committer | Brent J. Nordquist <brent@nordist.net> | 2012-10-12 10:52:22 -0500 |
commit | 06129c0e3fb0f20df6c0aa1509b151c51e71d180 (patch) | |
tree | b709d053a3a0fbc91bedf8132b70353e2359f97e /railties/test/application | |
parent | 79db8db415ffb86ab23e4d319c1035d926160d2d (diff) | |
download | rails-06129c0e3fb0f20df6c0aa1509b151c51e71d180.tar.gz rails-06129c0e3fb0f20df6c0aa1509b151c51e71d180.tar.bz2 rails-06129c0e3fb0f20df6c0aa1509b151c51e71d180.zip |
Add .rake to `rake notes` and `rake notes:custom`
Diffstat (limited to 'railties/test/application')
-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 27de75b63b..7a227098ba 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/controllers/application_controller.rb", 1000.times.map { "" }.join("\n") << "# TODO: note in ruby" + app_file "lib/tasks/task.rake", "# TODO: note in rake" boot_rails require 'rake' @@ -45,8 +46,9 @@ module ApplicationTests assert_match(/note in js/, output) assert_match(/note in css/, output) assert_match(/note in scss/, output) + assert_match(/note in rake/, output) - assert_equal 8, lines.size + assert_equal 9, lines.size lines.each do |line| assert_equal 4, line[0].size |