Skip to content

Instantly share code, notes, and snippets.

@maxidr
Created January 17, 2012 20:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxidr/1628779 to your computer and use it in GitHub Desktop.
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)
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'
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