diff options
Diffstat (limited to 'spec/support/shared_examples/services/wiki_pages/update_service_shared_examples.rb')
-rw-r--r-- | spec/support/shared_examples/services/wiki_pages/update_service_shared_examples.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared_examples/services/wiki_pages/update_service_shared_examples.rb b/spec/support/shared_examples/services/wiki_pages/update_service_shared_examples.rb index 0dfc99d043b..77354fec069 100644 --- a/spec/support/shared_examples/services/wiki_pages/update_service_shared_examples.rb +++ b/spec/support/shared_examples/services/wiki_pages/update_service_shared_examples.rb @@ -48,7 +48,7 @@ RSpec.shared_examples 'WikiPages::UpdateService#execute' do |container_type| expect { service.execute(page) }.to change { Event.count }.by 1 expect(Event.recent.first).to have_attributes( - action: Event::UPDATED, + action: 'updated', wiki_page: page, target_title: page.title ) |