aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/system_test_generator_test.rb
blob: e8e561ec4993e24f4d9beb862ba46a5a6a7c50ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
require "generators/generators_test_helper"
require "rails/generators/rails/system_test/system_test_generator"

class SystemTestGeneratorTest < Rails::Generators::TestCase
  include GeneratorsTestHelper
  arguments %w(user)

  def test_system_test_skeleton_is_created
    run_generator
    assert_file "test/system/users_test.rb", /class UsersTest < ApplicationSystemTestCase/
  end
end