Sha256: 5553411fda44f74acd88e571a635d1cdd102b2c4207b8c3aac2e9b554c992c01

Contents?: true

Size: 360 Bytes

Versions: 20

Compression:

Stored size: 360 Bytes

Contents

# This generator adds email steps to the step definitions directory
require 'rails/generators'

module EmailSpec
  class StepsGenerator < Rails::Generators::Base
    def generate
      copy_file 'email_steps.rb', 'features/step_definitions/email_steps.rb'
    end

    def self.source_root
      File.join(File.dirname(__FILE__), 'templates')
    end
  end
end

Version data entries

20 entries across 20 versions & 4 rubygems

Version Path
email_spec-2.3.0 lib/generators/email_spec/steps/steps_generator.rb
email_spec-2.2.2 lib/generators/email_spec/steps/steps_generator.rb
email_spec-2.2.1 lib/generators/email_spec/steps/steps_generator.rb
email_spec-2.2.0 lib/generators/email_spec/steps/steps_generator.rb
email_spec-2.1.2 lib/generators/email_spec/steps/steps_generator.rb
email_spec-2.1.1 lib/generators/email_spec/steps/steps_generator.rb
email_spec-2.1.0 lib/generators/email_spec/steps/steps_generator.rb
email_spec-2.0.0 lib/generators/email_spec/steps/steps_generator.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/email_spec-1.6.0/lib/generators/email_spec/steps/steps_generator.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/email_spec-1.6.0/lib/generators/email_spec/steps/steps_generator.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/email_spec-1.6.0/lib/generators/email_spec/steps/steps_generator.rb
email_spec-1.6.0 lib/generators/email_spec/steps/steps_generator.rb
email_spec-1.5.0 lib/generators/email_spec/steps/steps_generator.rb
email_spec-1.4.0 lib/generators/email_spec/steps/steps_generator.rb
gardelea-email_spec-1.3.0 lib/generators/email_spec/steps/steps_generator.rb
email_spec-1.0.1 lib/generators/email_spec/steps/steps_generator.rb
email_spec-1.2.1 lib/generators/email_spec/steps/steps_generator.rb
email_spec-1.2.0 lib/generators/email_spec/steps/steps_generator.rb
email_spec-1.1.1 lib/generators/email_spec/steps/steps_generator.rb
path-email_spec-0.6.2 lib/generators/email_spec/steps/steps_generator.rb