lib/hexx/rspec/install.rb in hexx-rspec-0.3.1 vs lib/hexx/rspec/install.rb in hexx-rspec-0.4.0

- old
+ new

@@ -42,9 +42,20 @@ # @private def create_simplecov copy_file "simplecov.yml", "config/metrics/simplecov.yml" end + # @private + def create_spec_helper + template "spec_helper.erb", "spec/spec_helper.rb" + end + + private + + def gemname + @gemname ||= ::File.basename(destination_root).downcase + end + end # class Install end # module RSpec end # module Hexx