-
This: https://github.com/appdev-projects/rps-html/blob/6eba09cc555233c98722f8145bb8517378b3abba/spec/features/4_index_spec.rb#L578
Actually doesn't check if the paragraph and image are in the **sam…
-
When using the `include` matcher to compare instances of `Time` and `Time#iso8601` I get inconsistent results depending on whether _Rails_ has been loaded:
```ruby
# Fails:
it do
time = Time.n…
-
When writing an RSpec Test with axe-matchers, the `according_to` parameter should throw an error or print a warning if an unknown ruleset is passed.
I believe this would be helpful to prevent false…
-
After upgrading to version 4.4.0 we see errors like
```
NoMethodError: undefined method `validate_length_of' for #
-
```
gem 'kaminari', '=1.0.0.alpha', :git => "https://github.com/amatsuda/kaminari.git"
```
I've tried other versions of the Kaminari gem with the same results
```
$ bundle exec rails g kaminari:conf…
jshow updated
3 years ago
-
### Subject of the issue
The operator form of `be` swallows `ArgumentError` and `NoMethodError` exceptions, so that it can fail with a nicer error message. However, this means that `expect(...).not…
-
I have a similar structure code as https://github.com/thoughtbot/shoulda-matchers/issues/946, and I'm trying to find a way to validate absence of an enum value.
Model:
```ruby
validates_absence_o…
-
## Update code structure
- Read Ruby style guide. You can install [rubocop](https://github.com/rubocop-hq/ruby-style-guide) gem for refactor code.
- Move `Account` class to `account.rb` file and `…
-
You started writing a test task well.
You need to write a test for your code. Your will check methods `parse_accounts` and `parse_transactions`. Here is a list of tasks for you to update your code.…
-
While rewriting a test to `expect(hash).to include(k => v, ...)` form, I encountered very confusing failures, with non-helpful diff, where I eventually confirmed the expected keys are a strict subset,…