Sha256: b71a9a03b31ea2c89f23d9d0ccfcde1cdd1367149106458a7aa97c80fa4d6f13
Contents?: true
Size: 518 Bytes
Versions: 4
Compression:
Stored size: 518 Bytes
Contents
require "test_helper" require "generators/markerb/mailer/mailer_generator" class GeneratorTest < Rails::Generators::TestCase tests Markerb::Generators::MailerGenerator destination File.expand_path("../tmp", __FILE__) setup :prepare_destination test "assert all views are properly created with given name" do run_generator %w(notifier foo bar baz) assert_file "app/views/notifier/foo.markerb" assert_file "app/views/notifier/bar.markerb" assert_file "app/views/notifier/baz.markerb" end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
markerb-1.0.1 | test/generator_test.rb |
texterb-0.1.4 | test/generator_test.rb |
markerb-1.0.0 | test/generator_test.rb |
markerb-0.1.0 | test/generator_test.rb |