Created
April 10, 2014 20:01
-
-
Save pawel2105/10417605 to your computer and use it in GitHub Desktop.
Rspec breaks if Capybara exists and rails is not required.
This file contains 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
capybara-2.2.1/lib/capybara/rails.rb:15:in `<top (required)>': undefined method `join' for nil:NilClass (NoMethodError) |
This file contains 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
require 'active_support' | |
require 'active_support/dependencies' | |
require 'active_record' | |
require 'database_cleaner' | |
require 'factory_girl_rails' | |
require 'pg_search' | |
require 'humanizer' | |
require 'paperclip' | |
require 'capybara/rspec' | |
require 'capybara/rails' | |
require 'paperclip/matchers' | |
require 'action_view' | |
require 'action_controller' | |
require 'yaml' | |
require 'rspec/rails' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
only added
require 'capybara/rspec'
andrequire 'capybara/rails'
in an attempt to fix this, but that's not working.