Sha256: e81b4fbc38b1632169ace28e45a47b301665336fb8104cc7d8b2ab4ea45b2cc1

Contents?: true

Size: 606 Bytes

Versions: 8

Compression:

Stored size: 606 Bytes

Contents

gather_gems(:development, :test) do
  gather_gem('rspec-rails')
  gather_gem('factory_girl_rails')
  gather_gem('guard-rspec', require: false)
  gather_gem('rspec-nc', require: false)
end

gather_gems(:test) do
  gather_gem('shoulda-matchers', require: false)
end

after(:gem_install) do
  remove_dir 'test'

  generate "rspec:install"

  remove_file 'spec/rails_helper.rb'
  copy_file 'assets/testing/rails_helper.rb', 'spec/rails_helper.rb'

  remove_file '.rspec'
  copy_file 'assets/testing/.rspec', '.rspec'

  empty_directory 'spec/support'
  create_file 'spec/support/.keep'

  run "guard init"
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
potassium-1.2.4 lib/potassium/templates/application/recipes/testing.rb
potassium-1.2.3 lib/potassium/templates/application/recipes/testing.rb
potassium-1.2.2 lib/potassium/templates/application/recipes/testing.rb
potassium-1.2.1 lib/potassium/templates/application/recipes/testing.rb
potassium-1.2.0 lib/potassium/templates/application/recipes/testing.rb
potassium-1.1.0 lib/potassium/templates/application/recipes/testing.rb
potassium-1.0.1 lib/potassium/templates/application/recipes/testing.rb
potassium-1.0.0 lib/potassium/templates/application/recipes/testing.rb