Sha256: bc7dcc79098054dd295f0c46acf454858b2868dbca78028ba9c8149d6cff74ac

Contents?: true

Size: 344 Bytes

Versions: 24

Compression:

Stored size: 344 Bytes

Contents

module Rspec
  module Generators
    class QueryFilterGenerator < ::Rails::Generators::NamedBase
      source_root File.expand_path('../templates', __FILE__)

      def create_query_filter_spec
        template 'query_filter_spec.rb', File.join('spec/query_filters', class_path, "#{file_name}_query_filter_spec.rb")
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
riveter-0.8.3 lib/generators/rspec/query_filter/query_filter_generator.rb
riveter-0.8.2 lib/generators/rspec/query_filter/query_filter_generator.rb
riveter-0.8.1 lib/generators/rspec/query_filter/query_filter_generator.rb
riveter-0.8.0 lib/generators/rspec/query_filter/query_filter_generator.rb
riveter-0.7.0 lib/generators/rspec/query_filter/query_filter_generator.rb
riveter-0.6.0 lib/generators/rspec/query_filter/query_filter_generator.rb
riveter-0.3.0 lib/generators/rspec/query_filter/query_filter_generator.rb
riveter-0.2.1 lib/generators/rspec/query_filter/query_filter_generator.rb
riveter-0.2.0 lib/generators/rspec/query_filter/query_filter_generator.rb
riveter-0.1.1 lib/generators/rspec/query_filter/query_filter_generator.rb
riveter-0.0.15 lib/generators/rspec/query_filter/query_filter_generator.rb
riveter-0.0.14 lib/generators/rspec/query_filter/query_filter_generator.rb
riveter-0.0.13 lib/generators/rspec/query_filter/query_filter_generator.rb
riveter-0.0.12 lib/generators/rspec/query_filter/query_filter_generator.rb
riveter-0.0.11 lib/generators/rspec/query_filter/query_filter_generator.rb
riveter-0.0.10 lib/generators/rspec/query_filter/query_filter_generator.rb
riveter-0.0.9 lib/generators/rspec/query_filter/query_filter_generator.rb
riveter-0.0.8 lib/generators/rspec/query_filter/query_filter_generator.rb
riveter-0.0.7 lib/generators/rspec/query_filter/query_filter_generator.rb
riveter-0.0.6 lib/generators/rspec/query_filter/query_filter_generator.rb