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