lib/pah/partials/_rspec.rb in pah-0.0.12 vs lib/pah/partials/_rspec.rb in pah-0.0.13
- old
+ new
@@ -1,13 +1,17 @@
-puts "Setting up RSpec ... ".magenta
-
-remove_dir 'test'
-
copy_static_file 'spec/spec_helper.rb'
-%w{vcr.rb deferred_garbage_collection.rb http_basic_auth.rb matchers.rb uploaded_file.rb suppress_log.rb}.each do |component|
+%w{
+ database_cleaner.rb
+ deferred_garbage_collection.rb
+ factory_girl.rb
+ http_basic_auth.rb
+ matchers.rb
+ suppress_log.rb
+ uploaded_file.rb
+ vcr.rb
+ }.each do |component|
copy_static_file "spec/support/#{component}"
end
-git :add => '--all'
-git :commit => "-aqm 'Configured RSpec.'"
-puts "\n"
+git add: 'spec'
+git_commit 'Add RSpec support files'