Sha256: f49f4ec15c79ed5fc451ce26c81ddcab9d50b4b86e386d61a9746446c9660a2b
Contents?: true
Size: 311 Bytes
Versions: 24
Compression:
Stored size: 311 Bytes
Contents
module Rspec module Generators class QueryGenerator < ::Rails::Generators::NamedBase source_root File.expand_path('../templates', __FILE__) def create_query_spec template 'query_spec.rb', File.join('spec/queries', class_path, "#{file_name}_query_spec.rb") end end end end
Version data entries
24 entries across 24 versions & 1 rubygems