def METHOD_NAME(self, resource_group):
    webapp_name = self.create_random_name(
        prefix='webapp-quick-linux', length=24)
    plan = self.create_random_name(prefix='plan-quick-linux', length=24)
    self.cmd(
        'appservice plan create -g {} -n {} --is-linux'.format(resource_group, plan))
    self.cmd('webapp create -g {} -n {} --plan {} -i patle/ruby-hello'.format(
        resource_group, webapp_name, plan))
    r = requests.get(
        'http://{}.azurewebsites.net'.format(webapp_name), timeout=240)
    # verify the web page
    self.assertTrue('Ruby on Rails in Web Apps on Linux' in str(r.content))
    # verify app settings
    self.cmd('webapp config appsettings list -g {} -n {}'.format(resource_group, webapp_name), checks=[
        JMESPathCheck('[0].name', 'WEBSITES_ENABLE_APP_SERVICE_STORAGE'),
        JMESPathCheck('[0].value', 'false'),
    ])
    self.cmd('webapp update -g {} -n {} --https-only true'.format(resource_group, webapp_name), checks=[JMESPathCheck("httpsOnly", True)])
    self.cmd('webapp update -g {} -n {} --https-only false'.format(resource_group, webapp_name), checks=[JMESPathCheck("httpsOnly", False)])