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
{{ message }}
This repository has been archived by the owner on Jul 17, 2022. It is now read-only.
I'm hoping you'll know what's going on offhand... If not, I'm happy to look deeper.
Here's the crash:
/Users/bronson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.0.1/lib/rspec/core/hooks.rb:476:in `register': undefined method `prepend' for nil:NilClass (NoMethodError)
from /Users/bronson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.0.1/lib/rspec/core/hooks.rb:317:in `around'
from /Users/bronson/tablediffer/spec/diff_spec.rb:2:in `block in <top (required)>'
from /Users/bronson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.0.1/lib/rspec/core/example_group.rb:331:in `module_exec'
from /Users/bronson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.0.1/lib/rspec/core/example_group.rb:331:in `subclass'
from /Users/bronson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.0.1/lib/rspec/core/example_group.rb:227:in `block in define_example_group_method'
from /Users/bronson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.0.1/lib/rspec/core/dsl.rb:41:in `block in expose_example_group_alias'
from /Users/bronson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.0.1/lib/rspec/core/dsl.rb:79:in `block (2 levels) in expose_example_group_alias_globally'
from /Users/bronson/tablediffer/spec/diff_spec.rb:1:in `<top (required)>'
from /Users/bronson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.0.1/lib/rspec/core/configuration.rb:1051:in `load'
from /Users/bronson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.0.1/lib/rspec/core/configuration.rb:1051:in `block in load_spec_files'
from /Users/bronson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.0.1/lib/rspec/core/configuration.rb:1051:in `each'
from /Users/bronson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.0.1/lib/rspec/core/configuration.rb:1051:in `load_spec_files'
from /Users/bronson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.0.1/lib/rspec/core/runner.rb:97:in `setup'
from /Users/bronson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.0.1/lib/rspec/core/runner.rb:85:in `run'
from /Users/bronson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.0.1/lib/rspec/core/runner.rb:70:in `run'
from /Users/bronson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.0.1/lib/rspec/core/runner.rb:38:in `invoke'
from /Users/bronson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.0.1/exe/rspec:4:in `<top (required)>'
from /Users/bronson/.rbenv/versions/2.1.2/bin/rspec:23:in `load'
from /Users/bronson/.rbenv/versions/2.1.2/bin/rspec:23:in `<main>'
For future people googling this error message, around(:all) was not a valid rspec hook for a long time, and wasn't added to rspec-core until the end of 2016 (and doesn't behave as expected). Relevant discussion: rspec/rspec-core#1031
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, my do-nothing test file is crashing inside the around(:all) function.
I'm hoping you'll know what's going on offhand... If not, I'm happy to look deeper.
Here's the crash:
And my Gemfile.lock:
The text was updated successfully, but these errors were encountered: