Sha256: 83c67b326e8563346c6896c3563658f4350266712b90b5a4951d348646d50c90
Contents?: true
Size: 586 Bytes
Versions: 4
Compression:
Stored size: 586 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 http_basic_auth.rb matchers.rb suppress_log.rb uploaded_file.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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
pah-0.0.20 | lib/pah/templates/rspec.rb |
pah-0.0.19 | lib/pah/templates/rspec.rb |
pah-0.0.17 | lib/pah/templates/rspec.rb |
pah-0.0.16 | lib/pah/templates/rspec.rb |