Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c1d496b31b
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (16 sloc) 0.659 kb
require File.expand_path(File.dirname(__FILE__) + "/../lib/insert_commands.rb")
class ClearanceTwitterFeaturesGenerator < Rails::Generator::Base
def manifest
record do |m|
m.directory File.join("features", "step_definitions")
["features/step_definitions/clearance_twitter_steps.rb",
"features/twitter_sign_in.feature",
"features/twitter_sign_up.feature",
"features/support/clearance_twitter_support.rb"].each do |file|
m.file file, file
end
m.insert_into 'features/support/env.rb', 'World(WebMockTwitterFake)'
m.insert_into 'features/support/env.rb', 'World(TwitterFake)'
end
end
end
Jump to Line
Something went wrong with that request. Please try again.