Sha256: 6fb2c08ac95ee2f86c2c8c6619d872cb6ede1257e26e970f2158fbb568acb881
Contents?: true
Size: 321 Bytes
Versions: 1
Compression:
Stored size: 321 Bytes
Contents
module Rspec module Generators class NotifierGenerator < ::Rails::Generators::NamedBase source_root File.expand_path("../templates", __FILE__) def create_spec_file template "notifier_spec.tt", File.join("spec/notifiers", class_path, "#{file_name}_notifier_spec.rb") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pubsub_notifier-0.1.2 | lib/generators/rspec/notifier_generator.rb |