Fix all deprecated rspec warnings #406

jordansissel opened this Issue Apr 9, 2013 · 2 comments


None yet

3 participants

`let` and `subject` declarations are not intended to be called
in a `before(:all)` hook, as they exist to define state that
is reset between each example, while `before(:all)` exists to
define state that is shared across examples in an example group.

WARNING: subject accessed in a `before(:all)` hook at:

This is deprecated behavior that will not be supported in RSpec 3.

There's a ton of places where 'subject' is used in 'before' stanzas... :(


I expect this was fixed when #522 was merged :)


@hatt thanks! closing.

@r4um r4um closed this Aug 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment