Skip to content

radarek/rails_rspec_spring_eager_load_bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Problem with rails + rspec + spring + eager_load

How to reproduce?

  • clone this repo
  • bin/rails db:migrate RAILS_ENV=test
  • bin/rspec - should pass
  • bin/rspec - should pass again
  • modify file app/models/user.rb (for example add line with comment)
  • bin/rspec - should fail with message "user_spec.rb:3:in `<top (required)>': uninitialized constant User (NameError)"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published