# should be carried through to a normal login with a message
assert_response :success
- assert !flash[:notice].nil?
+ assert_not flash[:notice].nil?
end
end
private
def auth_header(user, pass)
- { "HTTP_AUTHORIZATION" => format("Basic %s", Base64.encode64("#{user}:#{pass}")) }
+ { "HTTP_AUTHORIZATION" => format("Basic %{auth}", :auth => Base64.encode64("#{user}:#{pass}")) }
end
def with_terms_seen(value)