Sha256: c6da833500ebf9c2c636b14ae125a76bcbbf24a767d3dabfc0c742cae6f815f4

Contents?: true

Size: 278 Bytes

Versions: 33

Compression:

Stored size: 278 Bytes

Contents

require 'generators/rspec'

module Rspec
  module Generators
    class IntegrationGenerator < Base
      def create_integration_file
        template 'request_spec.rb',
                 File.join('spec/requests', class_path, "#{table_name}_spec.rb")
      end
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
rspec-rails-2.0.0 lib/generators/rspec/integration/integration_generator.rb
rspec-rails-2.0.0.rc lib/generators/rspec/integration/integration_generator.rb
rspec-rails-2.0.0.beta.22 lib/generators/rspec/integration/integration_generator.rb
rspec-rails-2.0.0.beta.20 lib/generators/rspec/integration/integration_generator.rb
rspec-rails-2.0.0.beta.19 lib/generators/rspec/integration/integration_generator.rb
rspec-rails-2.0.0.beta.18 lib/generators/rspec/integration/integration_generator.rb
rspec-rails-2.0.0.beta.17 lib/generators/rspec/integration/integration_generator.rb
rspec-rails-2.0.0.beta.16 lib/generators/rspec/integration/integration_generator.rb
rspec-rails-2.0.0.beta.15 lib/generators/rspec/integration/integration_generator.rb
rspec-rails-2.0.0.beta.14.2 lib/generators/rspec/integration/integration_generator.rb
rspec-rails-2.0.0.beta.14.1 lib/generators/rspec/integration/integration_generator.rb
rspec-rails-2.0.0.beta.13 lib/generators/rspec/integration/integration_generator.rb
rspec-rails-2.0.0.beta.12 lib/generators/rspec/integration/integration_generator.rb
rspec-rails-2.0.0.beta.11 lib/generators/rspec/integration/integration_generator.rb
rspec-rails-2.0.0.beta.10 lib/generators/rspec/integration/integration_generator.rb
rspec-rails-2.0.0.beta.9.1 lib/generators/rspec/integration/integration_generator.rb
rspec-rails-2.0.0.beta.8 lib/generators/rspec/integration/integration_generator.rb
rspec-rails-2.0.0.beta.7 lib/generators/rspec/integration/integration_generator.rb
rspec-rails-2.0.0.beta.6 lib/generators/rspec/integration/integration_generator.rb
rspec-rails-2.0.0.beta.5 lib/generators/rspec/integration/integration_generator.rb