aboutsummaryrefslogblamecommitdiffstats
path: root/railties/test/generators/task_generator_test.rb
blob: f810a21d1e29b5a14b1e211cc3ae3080b61a79b0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                          
require 'generators/generators_test_helper'
require 'rails/generators/rails/task/task_generator'

class TaskGeneratorTest < Rails::Generators::TestCase
  include GeneratorsTestHelper
  arguments %w(feeds foo bar)

  def test_controller_skeleton_is_created
    run_generator
    assert_file "lib/tasks/feeds.rake", /namespace :feeds/
  end
end