…Time without properly restoring it.
This sets the formatter before users have a chance to configure it in a `RSpec.configure` block in a loaded spec file, and it turns out we don't need it--#660 fixes the order files are loaded to a consistent order, so the seed isn't involved at file load time. This reverts the following commits: * "Changelog for #676." (824119e) * "Ensures that error commands always throw an error" (dbee8b6) * "Outputs random seed before loading files" (f6565c7) Closes #676.
…ion is used * Closes #688
- No need to stub the private formatted_location method. - More detailed message. - Changelog entry.
...even if an error occurs in before(:all). Fixes #558.
…ject. I did this for #describe in de01e05 but didn't notice that the shared example/context definition methods have the same issue.
Instead, make it only available on: - The main object--so it can be used at the top level. - Modules--so example groups can be declared nested within modules, as is the common practice. Besides this, the only other place we need describe is from within example groups (so we can nest them), and this is taken care of by RSpec::Core::ExampleGroup.describe. I got the idea for this from a recent change in Sinatra that similarly limits the DSL to just the main object rather than all objects: sinatra/sinatra@46bdb7d