assert_template "sessions/new"
assert_select "span.username", false
- assert_select "div.flash.error", /your account has been suspended/ do
+ assert_select "div.alert.alert-danger", /your account has been suspended/ do
assert_select "a[href='mailto:openstreetmap@example.com']", "support"
end
end
assert_template "sessions/new"
assert_select "span.username", false
- assert_select "div.flash.error", /your account has been suspended/ do
+ assert_select "div.alert.alert-danger", /your account has been suspended/ do
assert_select "a[href='mailto:openstreetmap@example.com']", "support"
end
end
assert_template "sessions/new"
assert_select "span.username", false
- assert_select "div.flash.error", /your account has been suspended/ do
+ assert_select "div.alert.alert-danger", /your account has been suspended/ do
assert_select "a[href='mailto:openstreetmap@example.com']", "support"
end
end
assert_template "sessions/new"
assert_select "span.username", false
- assert_select "div.flash.error", /your account has been suspended/ do
+ assert_select "div.alert.alert-danger", /your account has been suspended/ do
assert_select "a[href='mailto:openstreetmap@example.com']", "support"
end
end
assert_template "sessions/new"
assert_select "span.username", false
- assert_select "div.flash.error", /your account has been suspended/ do
+ assert_select "div.alert.alert-danger", /your account has been suspended/ do
assert_select "a[href='mailto:openstreetmap@example.com']", "support"
end
end
assert_template "sessions/new"
assert_select "span.username", false
- assert_select "div.flash.error", /your account has been suspended/ do
+ assert_select "div.alert.alert-danger", /your account has been suspended/ do
assert_select "a[href='mailto:openstreetmap@example.com']", "support"
end
end
assert_response :success
assert_template "sessions/new"
assert_select "span.username", false
- assert_select "div.flash.error", /your account has been suspended/ do
+ assert_select "div.alert.alert-danger", /your account has been suspended/ do
assert_select "a[href='mailto:openstreetmap@example.com']", "support"
end
end
follow_redirect!
assert_response :success
assert_template "sessions/new"
- assert_select "div.flash.error", "Connection to authentication provider failed"
+ assert_select "div.alert.alert-danger", "Connection to authentication provider failed"
assert_select "span.username", false
end
follow_redirect!
assert_response :success
assert_template "sessions/new"
- assert_select "div.flash.error", "Invalid authentication credentials"
+ assert_select "div.alert.alert-danger", "Invalid authentication credentials"
assert_select "span.username", false
end
assert_response :success
assert_template "sessions/new"
assert_select "span.username", false
- assert_select "div.flash.error", /your account has been suspended/ do
+ assert_select "div.alert.alert-danger", /your account has been suspended/ do
assert_select "a[href='mailto:openstreetmap@example.com']", "support"
end
end
follow_redirect!
assert_response :success
assert_template "sessions/new"
- assert_select "div.flash.error", "Connection to authentication provider failed"
+ assert_select "div.alert.alert-danger", "Connection to authentication provider failed"
assert_select "span.username", false
end
follow_redirect!
assert_response :success
assert_template "sessions/new"
- assert_select "div.flash.error", "Invalid authentication credentials"
+ assert_select "div.alert.alert-danger", "Invalid authentication credentials"
assert_select "span.username", false
end
assert_response :success
assert_template "sessions/new"
assert_select "span.username", false
- assert_select "div.flash.error", /your account has been suspended/ do
+ assert_select "div.alert.alert-danger", /your account has been suspended/ do
assert_select "a[href='mailto:openstreetmap@example.com']", "support"
end
end
follow_redirect!
assert_response :success
assert_template "sessions/new"
- assert_select "div.flash.error", "Connection to authentication provider failed"
+ assert_select "div.alert.alert-danger", "Connection to authentication provider failed"
assert_select "span.username", false
end
follow_redirect!
assert_response :success
assert_template "sessions/new"
- assert_select "div.flash.error", "Invalid authentication credentials"
+ assert_select "div.alert.alert-danger", "Invalid authentication credentials"
assert_select "span.username", false
end
assert_response :success
assert_template "sessions/new"
assert_select "span.username", false
- assert_select "div.flash.error", /your account has been suspended/ do
+ assert_select "div.alert.alert-danger", /your account has been suspended/ do
assert_select "a[href='mailto:openstreetmap@example.com']", "support"
end
end
follow_redirect!
assert_response :success
assert_template "sessions/new"
- assert_select "div.flash.error", "Connection to authentication provider failed"
+ assert_select "div.alert.alert-danger", "Connection to authentication provider failed"
assert_select "span.username", false
end
follow_redirect!
assert_response :success
assert_template "sessions/new"
- assert_select "div.flash.error", "Invalid authentication credentials"
+ assert_select "div.alert.alert-danger", "Invalid authentication credentials"
assert_select "span.username", false
end
assert_response :success
assert_template "sessions/new"
assert_select "span.username", false
- assert_select "div.flash.error", /your account has been suspended/ do
+ assert_select "div.alert.alert-danger", /your account has been suspended/ do
assert_select "a[href='mailto:openstreetmap@example.com']", "support"
end
end
follow_redirect!
assert_response :success
assert_template "sessions/new"
- assert_select "div.flash.error", "Connection to authentication provider failed"
+ assert_select "div.alert.alert-danger", "Connection to authentication provider failed"
assert_select "span.username", false
end
follow_redirect!
assert_response :success
assert_template "sessions/new"
- assert_select "div.flash.error", "Invalid authentication credentials"
+ assert_select "div.alert.alert-danger", "Invalid authentication credentials"
assert_select "span.username", false
end
assert_response :success
assert_template "sessions/new"
assert_select "span.username", false
- assert_select "div.flash.error", /your account has been suspended/ do
+ assert_select "div.alert.alert-danger", /your account has been suspended/ do
assert_select "a[href='mailto:openstreetmap@example.com']", "support"
end
end
follow_redirect!
assert_response :success
assert_template "sessions/new"
- assert_select "div.flash.error", "Connection to authentication provider failed"
+ assert_select "div.alert.alert-danger", "Connection to authentication provider failed"
assert_select "span.username", false
end
follow_redirect!
assert_response :success
assert_template "sessions/new"
- assert_select "div.flash.error", "Invalid authentication credentials"
+ assert_select "div.alert.alert-danger", "Invalid authentication credentials"
assert_select "span.username", false
end