Sha256: 11934d19bb121fe00b0d787a0f0bd24a46d4acc86d646dd9a47856b7a0b3ff48
Contents?: true
Size: 269 Bytes
Versions: 9
Compression:
Stored size: 269 Bytes
Contents
module Rspec module Generators class ContextRoleGenerator < ::Rails::Generators::NamedBase source_root File.expand_path('../templates', __FILE__) def unit_test template "role_spec.rb", "spec/roles/#{name}_spec.rb" end end end end
Version data entries
9 entries across 9 versions & 1 rubygems