Select Git revision
An error occurred while fetching branches. Retry the search.
environment_spec.rb
Forked from
GitLab.org / GitLab
Source project has a limited visibility.
-
Peter Leitzen authored
Previously RSpec only warned in the following cases: expect(foo).to raise_error expect(foo).not_to raise_error(SomeSpecifcError) and suggested to correct potential false positives with: expect(foo).to raise_error(SomeSpecifcError) expect(foo).not_to raise_error This commit corrects all warnings and make RSpec fail instead of warn in such situations preventing future false positives.
Peter Leitzen authoredPreviously RSpec only warned in the following cases: expect(foo).to raise_error expect(foo).not_to raise_error(SomeSpecifcError) and suggested to correct potential false positives with: expect(foo).to raise_error(SomeSpecifcError) expect(foo).not_to raise_error This commit corrects all warnings and make RSpec fail instead of warn in such situations preventing future false positives.