Fix typo, dowload to download
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user