* Refactor raise_error(specific_error) expectation
The full RSpec warining is
```
WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives,
since literally any other error would cause the expectation to pass,
including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError),
meaning the code you are intending to test may not even get reached.
Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`.
```
* Refactor jsitor tests to test behaviour
As pointed out by @rhymes, the previous tests were not
testing actual behaviour. This is an attempt at improving the tests.
|
||
|---|---|---|
| .. | ||
| fixtures | ||
| initializers | ||
| api_analytics_shared_examples.rb | ||
| omniauth_macros.rb | ||
| shared_context.rb | ||
| stubs.rb | ||
| within_block_is_expected.rb | ||