Dne 29. 10. 23 v 9:09 Mamoru TASAKA napsal(a):
14.
rubygem-shoulda-matchers
https://copr.fedorainfracloud.org/coprs/mtasaka/rubygem-newruby-test-3-2/...
Lots of:
```
An error occurred while loading
./spec/unit/shoulda/matchers/action_controller/callback_matcher_spec.rb.
Failure/Error: require 'unit_spec_helper'
NoMethodError:
undefined method `tr' for an instance of Pathname
```
Not sure what this means.
This could be workaround:
~~~
$ git diff
diff --git a/spec/support/unit/rails_application.rb
b/spec/support/unit/rails_application.rb
index b55b12ce..3d5609a1 100644
--- a/spec/support/unit/rails_application.rb
+++ b/spec/support/unit/rails_application.rb
@@ -184,7 +184,7 @@ end
end
def load_environment
- require environment_file_path
+ require environment_file_path.to_s
end
def run_migrations
~~~
IOW it seems like there used to be conversion from Pathname to String
somewhere, but it is not anymore.
Vít