Sha256: d51d32203e796b0cf95385d8c9a3db584cbec3bed984d499d0275bf8d8d4c70e

Contents?: true

Size: 247 Bytes

Versions: 9

Compression:

Stored size: 247 Bytes

Contents

module Rspec
  class BbqTestGenerator < Rails::Generators::NamedBase
    source_root Bbq.root.join("lib/generators/rspec/templates")

    def create_test
      template "bbq_spec.rb", "spec/acceptance/#{name.underscore}_spec.rb"
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
bbq-0.2.1 lib/generators/rspec/bbq_test_generator.rb
bbq-0.2.0 lib/generators/rspec/bbq_test_generator.rb
bbq-0.1.0 lib/generators/rspec/bbq_test_generator.rb
bbq-0.0.4 lib/generators/rspec/bbq_test_generator.rb
bbq-0.0.3 lib/generators/rspec/bbq_test_generator.rb
bbq-0.0.2 lib/generators/rspec/bbq_test_generator.rb
bbq-0.0.2.beta.3 lib/generators/rspec/bbq_test_generator.rb
bbq-0.0.2.beta.2 lib/generators/rspec/bbq_test_generator.rb
bbq-0.0.2.beta.1 lib/generators/rspec/bbq_test_generator.rb