Fix typo, dowload to download

This commit is contained in:
Bertocq
2018-01-03 16:58:43 +01:00
parent 1246bd4e62
commit 3bf8948b11
2 changed files with 5 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ en:
alert: Cannot destroy document.
confirm: Are you sure you want to delete the document? This action cannot be undone!
buttons:
download_document: Dowload file
download_document: Download file
destroy_document: Destroy
errors:
messages:

View File

@@ -41,7 +41,7 @@ shared_examples "documentable" do |documentable_factory_name, documentable_path,
visit send(documentable_path, arguments)
within "#tab-documents" do
expect(page).to have_link("Dowload file")
expect(page).to have_link("Download file")
end
end
@@ -49,7 +49,7 @@ shared_examples "documentable" do |documentable_factory_name, documentable_path,
visit send(documentable_path, arguments)
within "#tab-documents" do
expect(page).to have_selector("a[target=_blank]", text: "Dowload file")
expect(page).to have_selector("a[target=_blank]", text: "Download file")
end
end
@@ -57,7 +57,7 @@ shared_examples "documentable" do |documentable_factory_name, documentable_path,
visit send(documentable_path, arguments)
within "#tab-documents" do
expect(page).to have_selector("a[rel=nofollow]", text: "Dowload file")
expect(page).to have_selector("a[rel=nofollow]", text: "Download file")
end
end
@@ -149,4 +149,4 @@ def attach_document(path, success = true)
else
expect(page).to have_css ".loading-bar.errors"
end
end
end