Sha256: 6275e78ef579e109ea5c375e1432560a3c84d40e042cd3ee8a8c59d7c5d6ef3f
Contents?: true
Size: 495 Bytes
Versions: 8
Compression:
Stored size: 495 Bytes
Contents
require 'diesel/generators/features_base' module Clearance module Generators class FeaturesGenerator < Diesel::Generators::FeaturesBase def inject_paths 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 end end
Version data entries
8 entries across 8 versions & 1 rubygems