Sha256: d21a11e87f1b57cd94fd1054c593a829e787d67dd5db18ab0bc7a1191dea37d0

Contents?: true

Size: 347 Bytes

Versions: 2

Compression:

Stored size: 347 Bytes

Contents

# -*- encoding : utf-8 -*-

require 'rails/generators/guacamole_generator'

module Rspec
  module Generators
    class CallbacksGenerator < ::Guacamole::Generators::Base
      def create_collection_spec
        template 'callbacks_spec.rb.tt', File.join('spec/callbacks', class_path, "#{file_name}_callbacks_spec.rb")
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
guacamole-0.4.0 lib/rails/generators/rspec/callbacks/callbacks_generator.rb
guacamole-0.3.0 lib/rails/generators/rspec/callbacks/callbacks_generator.rb