Skip to content

Commit 5de4794

Browse files
authored
Fixed use of ids to be able to pass tests anywhere.
1 parent 0999e16 commit 5de4794

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/system/admin/users_system_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@
174174
end
175175

176176
it "Should sort display resource in human alphabetical order" do
177-
FactoryBot.create(:organization, name: "Pawnee")
178-
FactoryBot.create(:organization, name: "SF Diaper")
179-
FactoryBot.create(:organization, name: "Second City")
177+
FactoryBot.create(:organization, id: 2, name: "Pawnee")
178+
FactoryBot.create(:organization, id: 3, name: "SF Diaper")
179+
FactoryBot.create(:organization, id: 4, name: "Second City")
180180

181181
# params
182182
# - resource_type - Organization, Resource

0 commit comments

Comments
 (0)