summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-01-12 20:52:27 +0000
committerRobert Speicher <robert@gitlab.com>2017-01-12 20:52:27 +0000
commit37c35b116cd1f0ce38d3d41f981a22d523d88a9b (patch)
treedeea5739aecae814d331187038dd3d32c2078678
parent3eebca7b5c8af599d4aec6f2b5b4905408079754 (diff)
parentbf4a042f6a810aef6f66b109c088f6a80d8c8a5d (diff)
downloadgitlab-ce-37c35b116cd1f0ce38d3d41f981a22d523d88a9b.tar.gz
Merge branch 'redundant-parenthesis-removal-in-test' into 'master'
Remove redundant parentheses in TodosController spec [ci skip] See merge request !8548
-rw-r--r--spec/controllers/dashboard/todos_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/dashboard/todos_controller_spec.rb b/spec/controllers/dashboard/todos_controller_spec.rb
index 288984cfba9..19fbc2f7748 100644
--- a/spec/controllers/dashboard/todos_controller_spec.rb
+++ b/spec/controllers/dashboard/todos_controller_spec.rb
@@ -12,7 +12,7 @@ describe Dashboard::TodosController do
end
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) }
before do