Merge branch 'master' into feature/merge_master

This commit is contained in:
Roberto Rosario
2016-03-03 16:46:11 -04:00
24 changed files with 194 additions and 181 deletions

View File

@@ -71,11 +71,11 @@ class OCRAPITestCase(APITestCase):
self.assertTrue('Mayan EDMS Documentation' in content)
def test_get_document_version_content(self):
def test_get_document_version_page_content(self):
response = self.client.get(
reverse(
'rest_api:document-page-content-view',
args=(self.document.latest_version.pk,)
args=(self.document.latest_version.pages.first().pk,)
),
)