mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Merge pull request #7588 from andrewpbrett/enterprise-permalink-spec
[Rails 6.0] Fix enterprise permalink spec
This commit is contained in:
@@ -195,7 +195,7 @@ describe Enterprise do
|
||||
e2 = create(:enterprise, permalink: "not_taken")
|
||||
e2.permalink = "taken"
|
||||
e2.save
|
||||
expect(e2.permalink).to eq "not_taken"
|
||||
expect(e2.reload.permalink).to eq "not_taken"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user