Commit f0704579 authored by Tiffany Rea's avatar Tiffany Rea Committed by Walmyr Lima e Silva Filho

Fix group file template spec

parent 97fe827f
......@@ -102,11 +102,14 @@ module QA
expect(form).to have_normalized_ws_text(template[:content])
form.commit_changes
expect(form).to have_content('The file has been successfully created.')
expect(form).to have_content(template[:type])
expect(form).to have_content('Add new file')
expect(form).to have_normalized_ws_text(template[:content].chomp)
form.finished_loading?
aggregate_failures "indications of file created" do
expect(form).to have_content('The file has been successfully created.')
expect(form).to have_content(template[:type])
expect(form).to have_content('Add new file')
expect(form).to have_normalized_ws_text(template[:content].chomp)
end
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment