# File lib/rspec-puppet/setup.rb, line 115 def self.safe_create_spec_helper content = "require 'rspec-puppet'\n\nfixture_path = File.expand_path(File.join(__FILE__, '..', 'fixtures'))\n\nRSpec.configure do |c|\nc.module_path = File.join(fixture_path, 'modules')\nc.manifest_dir = File.join(fixture_path, 'manifests')\nc.environmentpath = File.join(Dir.pwd, 'spec')\nend\n" safe_create_file('spec/spec_helper.rb', content) end