-
I just noticed that we can update shoulda-matchers after removing this gem. There seem to be some incompatibilities between shoulda-matchers 4 and newer Rails versions. Since there's not much time for…
-
### Description
The `succ` call described in https://github.com/thoughtbot/shoulda-matchers/issues/854 fails to match when the `type` column being used in STI is an enumerable, because that col…
-
Once this PR gets merged https://github.com/thoughtbot/shoulda-matchers/pull/1009 we should update the gem to get rid of the following warning that is displayed when running the specs.
```shell
.r…
-
Hello everything is fine? I'm having some problems doing unique validations with the gem following my models and tests.
Model User
` validates :name, :username, :email, :password_digest, presence…
-
We have set up a has and belongs to many association between our 'entries' table and our 'words' table. The association is set in the models and the join table has been created and migrated.
We are …
-
- [x] https://github.com/thoughtbot/shoulda-matchers
- [x] https://github.com/rspec/rspec-mocks
- [x] https://github.com/rspec/rspec-rails
- [x] https://github.com/wspurgin/rspec-sidekiq
- [x] htt…
-
I have a Rails application composed of a mixture of ActiveRecord and Mongoid models.
I was able to write my unit tests until now the having configured my `rails_helper.rb` file has the following:
…
-
`have_and_belong_to_many(:association_name)` has naming conflict with should amatchers. All other matchers have aliases - which is great! I can use both shoulda matchers and `mongoid-rspec` matchers.
…
-
### Description
Testing counter_cache no longer works with Rails 7.2.beta.
### Reproduction Steps
Define an association like this:
```ruby
belongs_to :company, optional: true, counter_cache…
-
Hello 👋
My team is looking into adding `shoulda-matchers` to our Minitest test suite. Is it possible to use `shoulda-matchers` without `shoulda-context` gem ? If so what is the recommended way ?
…