Sha256: 1132ec124718fe8dc44468726768f00863cfb24b5f380c067b6e77ec60cd9931

Contents?: true

Size: 423 Bytes

Versions: 72

Compression:

Stored size: 423 Bytes

Contents

# This generator adds email steps to the step definitions directory 
generator_base = defined?(Rails) ? Rails::Generator::Base : RubiGen::Base
class EmailSpecGenerator < generator_base
  def manifest
    record do |m|
      m.directory 'features/step_definitions'
      m.file      'email_steps.rb', 'features/step_definitions/email_steps.rb'
    end
  end

protected

  def banner
    "Usage: #{$0} email_spec"
  end

end

Version data entries

72 entries across 52 versions & 14 rubygems

Version Path
email_spec-2.1.0 examples/rails4_root/vendor/plugins/email_spec/rails_generators/email_spec/email_spec_generator.rb
email_spec-2.0.0 examples/rails4_root/vendor/plugins/email_spec/rails_generators/email_spec/email_spec_generator.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/email_spec-1.6.0/rails_generators/email_spec/email_spec_generator.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/email_spec-1.6.0/rails_generators/email_spec/email_spec_generator.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/email_spec-1.6.0/rails_generators/email_spec/email_spec_generator.rb
basiszwo-email_spec-0.1.3 rails_generators/email_spec/email_spec_generator.rb
basiszwo-email_spec-0.1.3 examples/rails_root/vendor/plugins/email_spec/rails_generators/email_spec/email_spec_generator.rb
bmabey-email_spec-0.1.2 rails_generators/email_spec/email_spec_generator.rb
bmabey-email_spec-0.1.2 examples/rails_root/vendor/plugins/email_spec/rails_generators/email_spec/email_spec_generator.rb
bmabey-email_spec-0.1.3 examples/rails_root/vendor/plugins/email_spec/rails_generators/email_spec/email_spec_generator.rb
bmabey-email_spec-0.1.3 rails_generators/email_spec/email_spec_generator.rb
bmabey-email_spec-0.1.4 examples/rails_root/vendor/plugins/email_spec/rails_generators/email_spec/email_spec_generator.rb
bmabey-email_spec-0.1.4 rails_generators/email_spec/email_spec_generator.rb
bmabey-email_spec-0.2.0 rails_generators/email_spec/email_spec_generator.rb
bmabey-email_spec-0.2.0 examples/rails_root/vendor/plugins/email_spec/rails_generators/email_spec/email_spec_generator.rb
bmabey-email_spec-0.2.1 rails_generators/email_spec/email_spec_generator.rb
bmabey-email_spec-0.2.1 examples/rails_root/vendor/plugins/email_spec/rails_generators/email_spec/email_spec_generator.rb
bmabey-email_spec-0.3.0 examples/rails_root/vendor/plugins/email_spec/rails_generators/email_spec/email_spec_generator.rb
bmabey-email_spec-0.3.0 rails_generators/email_spec/email_spec_generator.rb
bmabey-email_spec-0.3.1 rails_generators/email_spec/email_spec_generator.rb