Patch #37448
Add missing fixture users to RoleTest
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Code cleanup/refactoring | |||
Target version: | 5.1.0 |
Description
The attached patch fixes the following error.
$ RAILS_ENV=test bin/rake db:reset $ bin/rails test test/unit/role_test.rb Run options: --seed 24409 # Running: E Error: RoleTest#test_destroy: ActiveRecord::RecordNotFound: Couldn't find User with 'id'=1 test/object_helpers.rb:231:in `generate!' test/unit/role_test.rb:160:in `test_destroy' rails test test/unit/role_test.rb:156
Associated revisions
Add a missing fixture to RoleTest (#37448).