Make tests independent of Setting["org_name"]
So tests won't fail when an institution changes the default organization name. The tests are also easier to understand now, since it's more obvious where the "CONSUL" text is coming from.
This commit is contained in:
@@ -201,6 +201,7 @@ describe "System Emails" do
|
||||
end
|
||||
|
||||
scenario "#user_invite" do
|
||||
Setting["org_name"] = "CONSUL"
|
||||
visit admin_system_email_view_path("user_invite")
|
||||
|
||||
expect(page).to have_content "Invitation to CONSUL"
|
||||
|
||||
Reference in New Issue
Block a user