Skip to content

Commit

Permalink
Adjust spec to new permissions model
Browse files Browse the repository at this point in the history
  • Loading branch information
aviav authored and tf committed Jul 26, 2017
1 parent 2eb6ee9 commit 48b309a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/pageflow/entry_publication_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ module Pageflow

it 'invokes entry_published hooks' do
entry = create(:entry)
user = create(:user, account: entry.account)
user = create(:user, :previewer, on: entry)
quota = QuotaDouble.available.new(:published_entries, entry.account)
entry_publication = EntryPublication.new(entry, {}, quota, user)
subscriber = double('subscriber', call: nil)
Expand Down

0 comments on commit 48b309a

Please sign in to comment.