Commit 37c35b11 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'redundant-parenthesis-removal-in-test' into 'master'

Remove redundant parentheses in TodosController spec

[ci skip]

See merge request !8548
parents 3eebca7b bf4a042f
...@@ -12,7 +12,7 @@ describe Dashboard::TodosController do ...@@ -12,7 +12,7 @@ describe Dashboard::TodosController do
end end
context 'when using pagination' do context 'when using pagination' do
let(:last_page) { user.todos.page().total_pages } let(:last_page) { user.todos.page.total_pages }
let!(:issues) { create_list(:issue, 2, project: project, assignee: user) } let!(:issues) { create_list(:issue, 2, project: project, assignee: user) }
before do before do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment