Commit d041063
committed
Fix undefined organization variable in by_item_id spec
Remove explicit organization: parameter from factory calls in the
by_item_id scope test. The organization variable is not defined in
this scope, causing a NameError. The factory defaults handle
organization assignment correctly, matching the pattern used by
other scope tests in this file. Also removes extra blank line
flagged by Rubocop.1 parent 34c7bf6 commit d041063
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
170 | 169 | | |
171 | 170 | | |
172 | 171 | | |
| |||
0 commit comments