activerecord-hackery--ransack/spec
Yasuo Honda e1c046235e Address RSpec warning by specifying as ArgumentError
This commit addresses this RSpec warning below:

```ruby
$ bundle exec rspec spec/ransack/adapters/active_record/base_spec.rb:126
Run options: include {:locations=>{"./spec/ransack/adapters/active_record/base_spec.rb"=>[126]}}
====================================================================================
Running Ransack specs with SQLite, Active Record 6.0.3.4, Arel 10.0.0 and Ruby 2.7.2
====================================================================================
WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #<ArgumentError: Invalid search term unknown_attr_eq>. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /home/yahonda/src/github.com/activerecord-hackery/ransack/spec/ransack/adapters/active_record/base_spec.rb:126:in `block (3 levels) in <module:ActiveRecord>'.
.

Finished in 0.76867 seconds (files took 1.14 seconds to load)
1 example, 0 failures
```

Refer `raise_error` matcher
https://relishapp.com/rspec/rspec-expectations/docs/built-in-matchers/raise-error-matcher
2021-01-26 22:35:04 +09:00
..
blueprints Apply RuboCop auto correct ry running `bundle exec rubocop -a` 2020-12-23 16:23:55 +09:00
helpers Apply RuboCop auto correct ry running `bundle exec rubocop -a` 2020-12-23 16:23:55 +09:00
polyamorous Restore and update polyamorous join association equality spec, originally 2020-04-02 20:13:33 -04:00
ransack Address RSpec warning by specifying as ArgumentError 2021-01-26 22:35:04 +09:00
support Apply RuboCop auto correct ry running `bundle exec rubocop -a` 2020-12-23 16:23:55 +09:00
console.rb Apply RuboCop Faker to use Faker 2 keyword arugments 2021-01-04 20:09:17 +09:00
spec_helper.rb Configure `Faker::Config.random = Random.new(0)` to avoid spec failure. 2021-01-04 20:15:28 +09:00