5
11
Fork
You've already forked tomato
1

Fix deprecation warnings in org show view spec #56

Merged
edwardloveall merged 1 commit from el-deprecated-view-spec into main 2025年12月08日 16:43:54 +01:00

The spec/views/organizations/show.html.erb_spec.rb was giving a
deprecation warning that a form in the view was being passed a nil
model. I've now added the model to the spec. Here's the warning:

DEPRECATION WARNING: Passing nil to the :model argument is deprecated
and will raise in Rails 8.0 (called from
_app_views_organizations_show_html_erb__3805751239548053197_18420 at
app/views/organizations/show.html.erb:110)
The spec/views/organizations/show.html.erb_spec.rb was giving a deprecation warning that a form in the view was being passed a `nil` model. I've now added the model to the spec. Here's the warning: ``` DEPRECATION WARNING: Passing nil to the :model argument is deprecated and will raise in Rails 8.0 (called from _app_views_organizations_show_html_erb__3805751239548053197_18420 at app/views/organizations/show.html.erb:110) ```
Fix deprecation warnings in org show view spec
Some checks failed
Setup Successful
Jest Successful
Static Analysis Successful
RSpec Failed
effcd041a0
The spec/views/organizations/show.html.erb_spec.rb was giving a
deprecation warning that a form in the view was being passed a `nil`
model. I've now added the model to the spec. Here's the warning:
```
DEPRECATION WARNING: Passing nil to the :model argument is deprecated
and will raise in Rails 8.0 (called from
_app_views_organizations_show_html_erb__3805751239548053197_18420 at
app/views/organizations/show.html.erb:110)
```
Author
Owner
Copy link

RSpec tests are flaky and passed locally

RSpec tests are flaky and passed locally
edwardloveall deleted branch el-deprecated-view-spec 2025年12月08日 16:43:55 +01:00
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rootable/tomato!56
Reference in a new issue
rootable/tomato
No description provided.
Delete branch "el-deprecated-view-spec"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?