Skip to content

Commit bfa4938

Browse files
committed
fix(user_spec): Remove unecessary page definition stub
Alchemy 8 has a model for page definition and not a hash. But this is not necessary anyway.
1 parent 6b11346 commit bfa4938

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

spec/models/user_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,6 @@ module Alchemy
239239
let(:user) { create(:alchemy_admin_user) }
240240
let(:page) { create(:alchemy_page) }
241241

242-
before { allow(Alchemy::PageDefinition).to receive(:get).and_return({}) }
243-
244242
it "should return all pages that are locked by user" do
245243
user.save!
246244
page.lock_to!(user)

0 commit comments

Comments
 (0)