Created
January 17, 2012 20:46
-
-
Save maxidr/1628779 to your computer and use it in GitHub Desktop.
config/application.rb for include rspec, factory_girl and haml (in rails 3.1)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| group :test do | |
| gem 'rspec-rails' | |
| gem 'database_cleaner' | |
| gem 'factory_girl_rails', '~> 1.2' | |
| gem 'capybara' | |
| end | |
| # For support simple_form 2 use: | |
| gem 'simple_form', :git => 'git://github.com/plataformatec/simple_form.git' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| config.generators do |g| | |
| g.test_framework :rspec, :view_specs=> false, :fixture => true | |
| g.fixture_replacement :factory_girl, :dir => 'spec/factories' | |
| #g.form_builder :simple_form | |
| g.template_engine :haml | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment