Sha256: e7c08d5cd771725eabe40fd5998996d6f6fb2e7d196370682ef57d56cd20fd3e
Contents?: true
Size: 508 Bytes
Versions: 8
Compression:
Stored size: 508 Bytes
Contents
module Pah module Templates class Rspec < Pah::Template def call copy_static_file 'spec/spec_helper.rb' copy_static_file 'spec/rails_helper.rb' %w( database_cleaner.rb factory_girl.rb suppress_log.rb vcr.rb random_timezone.rb ).each do |component| copy_static_file "spec/support/#{component}" end git add: 'spec' git_commit 'Add RSpec support files' end end end end
Version data entries
8 entries across 8 versions & 1 rubygems