Sha256: 1bda8eb98c6578293d32d1b0c5ad534a2540c82e37ee78d0d161dd0c0275fbca
Contents?: true
Size: 552 Bytes
Versions: 13
Compression:
Stored size: 552 Bytes
Contents
class ClearanceFeaturesGenerator < Rails::Generators::Base desc "Put the clearance features in place" def self.source_root @_clearance_source_root ||= File.join(File.dirname(__FILE__), "clearance_features_templates") end def install directory "features" inject_into_file "features/support/paths.rb", :after => "# Add more mappings here.\n" do " when /the sign up page/i sign_up_path when /the sign in page/i sign_in_path when /the password reset request page/i new_password_path\n" end end end
Version data entries
13 entries across 13 versions & 2 rubygems