Skip to content

Instantly share code, notes, and snippets.

@thisiskun
Created March 13, 2013 08:45
Show Gist options
  • Select an option

  • Save thisiskun/5150328 to your computer and use it in GitHub Desktop.

Select an option

Save thisiskun/5150328 to your computer and use it in GitHub Desktop.
test env setup
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
RSpec.configure do |config|
config.include FactoryGirl::Syntax::Methods
end
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