learn-co-curriculum / sinatra-fwitter-group-project

Other
2 stars 318 forks source link

Uninitialized Constant User from tests when there is a user model #17

Closed genericlady closed 8 years ago

genericlady commented 8 years ago

the .rspec file in the root of the project needs the flag --require spec_helper otherwise you have to explicitly declare `require 'spec_helper' at top of the specs and you will get a fail since you're not loading in the environment.

# .rspec
--color
--format documentation
--require spec_helper
tyleresmith commented 8 years ago

Confirming this issue still exists.

AnnJohn commented 8 years ago

for web 0416