fixes the issue

This commit is contained in:
Tiago Botelho 2017-01-12 15:49:48 -05:00
parent 3eebca7b5c
commit bf4a042f6a
1 changed files with 1 additions and 1 deletions

View File

@ -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