test/lib/generators/slim/mailer_generator_test.rb in slim-rails-3.1.0 vs test/lib/generators/slim/mailer_generator_test.rb in slim-rails-3.1.1

- old
+ new

@@ -13,35 +13,35 @@ run_generator if ::Rails.version.to_s >= '4.2' assert_file "app/views/layouts/mailer.text.slim" do |view| - assert_match /\= yield/, view + assert_match(/\= yield/, view) end assert_file "app/views/layouts/mailer.html.slim" do |view| - assert_match /\= yield/, view + assert_match(/\= yield/, view) end assert_file "app/views/notifier/foo.html.slim" do |view| assert_match %r(app/views/notifier/foo\.html\.slim), view - assert_match /\= @greeting/, view + assert_match(/\= @greeting/, view) end assert_file "app/views/notifier/bar.html.slim" do |view| assert_match %r(app/views/notifier/bar\.html\.slim), view - assert_match /\= @greeting/, view + assert_match(/\= @greeting/, view) end end assert_file "app/views/notifier/foo.text.slim" do |view| assert_match %r(app/views/notifier/foo\.text\.slim), view - assert_match /@greeting/, view + assert_match(/@greeting/, view) end assert_file "app/views/notifier/bar.text.slim" do |view| assert_match %r(app/views/notifier/bar\.text\.slim), view - assert_match /@greeting/, view + assert_match(/@greeting/, view) end end end