no longer require factory_girl_rails

This commit is contained in:
nilsding 2015-01-25 19:06:22 +01:00
parent fa2220dd00
commit bae7307778
2 changed files with 3 additions and 1 deletions

View File

@ -74,7 +74,7 @@ end
group :development, :test do
gem 'thin'
gem 'rspec-rails', '~> 3.0.0'
gem 'factory_girl_rails'
gem 'factory_girl_rails', require: false
gem 'faker'
gem 'capybara'
gem 'poltergeist'

View File

@ -7,6 +7,8 @@ Capybara.register_driver :poltergeist do |app|
end
Capybara.javascript_driver = :poltergeist
require 'factory_girl_rails'
# This file was generated by the `rails generate rspec:install` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# The generated `.rspec` file contains `--require spec_helper` which will cause this