-
-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow Rails 6.1 #2047
Allow Rails 6.1 #2047
Commits on Sep 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for af13563 - Browse repository at this point
Copy the full SHA af13563View commit details -
This feature spec failed with Rails 6.1 as it was defaulting to example.com instead of 127.0.0.1. Setting `asset_host` inside the test is more explicit as it was before and reflects what an actual app does.
Configuration menu - View commit details
-
Copy full SHA for 7d6bc25 - Browse repository at this point
Copy the full SHA 7d6bc25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25ffa9e - Browse repository at this point
Copy the full SHA 25ffa9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 76a1f9b - Browse repository at this point
Copy the full SHA 76a1f9bView commit details -
Include helpers in picture ingredient editor spec
Those helpers are not included by Rails anymore. Since a view spec is a unit test we need to stub/include everything we need on ourselves.
Configuration menu - View commit details
-
Copy full SHA for 89f124f - Browse repository at this point
Copy the full SHA 89f124fView commit details -
Fix element spec for Rails 6.1
First create elements with the page_version (the direct relation) and not a page (an indirect join via the page_version). Also reload element in nested_elements spec. Somehow this is now necessary in Rails 6.1.
Configuration menu - View commit details
-
Copy full SHA for 4a080c6 - Browse repository at this point
Copy the full SHA 4a080c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb1b324 - Browse repository at this point
Copy the full SHA eb1b324View commit details -
Stub configuration method in pages helper spec
Instead of globally including a module into the tet controller we stub the one method the spec uses
Configuration menu - View commit details
-
Copy full SHA for abc5a05 - Browse repository at this point
Copy the full SHA abc5a05View commit details -
Remove configuration methods include in url helper spec
It is not necessary. The specs pass without globally including a module in the test controller
Configuration menu - View commit details
-
Copy full SHA for 3714635 - Browse repository at this point
Copy the full SHA 3714635View commit details -
Expect page_version save to change page updated_at
Instead of expecting that rails calls a method on the receiver we expect that the updated_at time has changed.
Configuration menu - View commit details
-
Copy full SHA for a09ff32 - Browse repository at this point
Copy the full SHA a09ff32View commit details -
Only set db host if variable is specified
Not everybody is using a db running on host but on a socket instead.
Configuration menu - View commit details
-
Copy full SHA for eda438a - Browse repository at this point
Copy the full SHA eda438aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac63b67 - Browse repository at this point
Copy the full SHA ac63b67View commit details