fix typo on title of specs

This commit is contained in:
Eduardo
2020-08-09 20:38:12 -03:00
parent 11684dae65
commit 07e5f8ed8d

View File

@@ -32,13 +32,13 @@ describe "spree/admin/payment_methods/index.html.haml" do
expect(rendered).to have_content "Cash/EFT/etc. (payments for which automatic validation is not required)", count: 2
end
it "does not show Enviroment column when user is not admin" do
it "does not show Enviroment column" do
render
expect(rendered).not_to have_content "Environment"
end
it "does not show column content when user is not admin" do
it "does not show column content" do
render
expect(rendered).not_to have_content "Test"
@@ -56,13 +56,13 @@ describe "spree/admin/payment_methods/index.html.haml" do
expect(rendered).to have_content "Cash/EFT/etc. (payments for which automatic validation is not required)", count: 2
end
it "does not show Enviroment column when user is not admin" do
it "shows the Enviroment column" do
render
expect(rendered).to have_content "Environment"
end
it "does not show column content when user is not admin" do
it "shows the column content" do
render
expect(rendered).to have_content "Test"