diff options
Diffstat (limited to 'spec/models/wiki_page/meta_spec.rb')
-rw-r--r-- | spec/models/wiki_page/meta_spec.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/spec/models/wiki_page/meta_spec.rb b/spec/models/wiki_page/meta_spec.rb index 4d1a2dc1c98..5808be128e0 100644 --- a/spec/models/wiki_page/meta_spec.rb +++ b/spec/models/wiki_page/meta_spec.rb @@ -167,10 +167,12 @@ RSpec.describe WikiPage::Meta do end def create_previous_version(title: old_title, slug: last_known_slug, date: wiki_page.version.commit.committed_date) - create(:wiki_page_meta, - title: title, project: project, - created_at: date, updated_at: date, - canonical_slug: slug) + create( + :wiki_page_meta, + title: title, project: project, + created_at: date, updated_at: date, + canonical_slug: slug + ) end def create_context |