File: generator_test.rb

package info (click to toggle)
ruby-markerb 1.1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 196 kB
  • sloc: ruby: 202; makefile: 6
file content (16 lines) | stat: -rw-r--r-- 522 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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