Sha256: d7dc65a5a78074ab2af47ac7b07c8357f372ad55397beaf4d8e57ebc8d4c654c
Contents?: true
Size: 621 Bytes
Versions: 4
Compression:
Stored size: 621 Bytes
Contents
insert_into_file "#{@project_path}/config/application.rb", after: "class Application < Rails::Application\n" do <<-EOF config.generators do |g| g.scaffold_stylesheet false g.test_framework :rspec, :fixtures => true, :view_specs => false, :helper_specs => false, :routing_specs => false, :controller_specs => true, :request_specs => true, :assets => false g.fixture_replacement :factory_girl, :dir => 'spec/factories' end EOF end run 'rails g rspec:install'
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
r5-0.5.0.0 | lib/r5/recipes/rspec_generators.rb |
r5-0.4.0.5 | lib/r5/recipes/rspec_generators.rb |
r5-0.4.0.4 | lib/r5/recipes/rspec_generators.rb |
r5-0.4.0.2 | lib/r5/recipes/rspec_generators.rb |