Created
March 13, 2013 08:45
-
-
Save thisiskun/5150328 to your computer and use it in GitHub Desktop.
test env setup
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, :fixture => true | |
| g.fixture_replacement :factory_girl, :dir => 'spec/factories' | |
| g.stylesheets false | |
| g.javascripts false | |
| g.helper false | |
| g.helper_specs false | |
| g.view_specs false | |
| end |
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
| RSpec.configure do |config| | |
| config.include FactoryGirl::Syntax::Methods | |
| end |
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 :development, :test do | |
| gem 'rspec-rails' | |
| gem 'factory_girl_rails' | |
| gem 'pry-rails' | |
| gem 'pry-nav' | |
| end | |
| group :test do | |
| gem 'capybara' | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment