summaryrefslogtreecommitdiff
path: root/spec/controllers/dashboard/todos_controller_spec.rb
diff options
context:
space:
mode:
authorTiago Botelho <tiagonbotelho@hotmail.com>2017-01-12 15:49:48 -0500
committerTiago Botelho <tiagonbotelho@hotmail.com>2017-01-12 15:49:48 -0500
commitbf4a042f6a810aef6f66b109c088f6a80d8c8a5d (patch)
treedeea5739aecae814d331187038dd3d32c2078678 /spec/controllers/dashboard/todos_controller_spec.rb
parent3eebca7b5c8af599d4aec6f2b5b4905408079754 (diff)
downloadgitlab-ce-bf4a042f6a810aef6f66b109c088f6a80d8c8a5d.tar.gz
fixes the issue
Diffstat (limited to 'spec/controllers/dashboard/todos_controller_spec.rb')
-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