This is a demo repo to reproduce the issue described here
- Open 2 Terminal windows
- In one, type
rspec
- Should get 2 examples, 0 failures
- In second window, type
guard
to start guard & spork - Press
enter
to run suite
- Should still get 2 examples, 0 failues;
- but get 2 failures "undefined method `validate_presence_of' for #RSpec::Core::ExampleGroup::Nested_1:0x00000103552ab8"
- In first window, again type
rspec
- Expect tests to pass
- but see same error as in guard
- In second window, type
exit
to quit guard - In first window, type
rspec
, behavior back to normal.
- Open a terminal window and type
guard
- Press
enter
to run suite
- Should get 2 examples, 0 failues;
- but get 2 failures "undefined method `validate_presence_of' for #RSpec::Core::ExampleGroup::Nested_1:0x00000103552ab8"