1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/test/generators/task_generator_test.rb
2011-12-17 16:42:35 +04:00

12 lines
343 B
Ruby

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