Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (10 sloc) 328 Bytes
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_task_is_created
run_generator
assert_file "lib/tasks/feeds.rake", /namespace :feeds/
end
end
Something went wrong with that request. Please try again.