Fixes not_to hound warnings

This commit is contained in:
decabeza
2018-11-30 17:53:08 +01:00
parent 62a29e2cf9
commit b023ceabdd
2 changed files with 2 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ feature 'Documents' do
end
expect(page).to have_content "Document deleted succesfully"
expect(page).to_not have_content document.title
expect(page).not_to have_content document.title
end
end

View File

@@ -19,7 +19,7 @@ describe Document do
expect(Document.admin).to include admin_document1
expect(Document.admin).to include admin_document2
expect(Document.admin).to include admin_document3
expect(Document.admin).to_not include user_document
expect(Document.admin).not_to include user_document
end
end