You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
require'rubygems'require'spork'#uncomment the following line to use spork with the debugger#require 'spork/ext/ruby-debug'Spork.preforkdo### Line 6 ###ENV["RAILS_ENV"] ||= 'test'# Devise likes to load the User model. We want to avoid this. It # does so in the routes file, when calling devise_for :users, :path # => "my_account". The solution? Delay route loading.require'rails/application'Spork.trap_method(Rails::Application::RoutesReloader,:reload!)requireFile.expand_path("../../config/environment",__FILE__)### Line 14 ###require'rspec/rails'require'rspec/autorun'require'capybara/rails'require'capybara/rspec'# Requires supporting ruby files with custom matchers and macros, etc,# in spec/support/ and its subdirectories.Dir[Rails.root.join("spec/support/**/*.rb")].each{|f| requiref}binding.pryRSpec.configuredo |config|
# ## Mock Framework## If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:## config.mock_with :mocha# config.mock_with :flexmock# config.mock_with :rr# Remove this line if you're not using ActiveRecord or ActiveRecord fixturesconfig.fixture_path="#{::Rails.root}/spec/fixtures"# If you're not using ActiveRecord, or you'd prefer not to run each of your# examples within a transaction, remove the following line or assign false# instead of true.config.use_transactional_fixtures=true# If true, the base class of anonymous controllers will be inferred# automatically. This will be the default behavior in future versions of# rspec-rails.config.infer_base_class_for_anonymous_controllers=false# Run specs in random order to surface order dependencies. If you find an# order dependency and want to debug it, you can fix the order by providing# the seed, which is printed after each run.# --seed 1234config.order="random"endendSpork.each_rundo# FactoryGirl.reloadend
The text was updated successfully, but these errors were encountered:
I even suspect it doesn't really list all preloaded files.
On
spork -d
:spec_helper.rb
:The text was updated successfully, but these errors were encountered: