Sha256: e26b0b8fa9e6a12236c5bba7dca61f1caabbf410218c1d50baafffc96835e11f

Contents?: true

Size: 1.47 KB

Versions: 61

Compression:

Stored size: 1.47 KB

Contents

Feature: create a template for a new zendesk app

  Scenario: Create a new app in an existing directory
    Given an app directory "tmp/aruba" exists
    And I move to the app directory
    When I run "zat new" command with the following details:
      | author name  | John Citizen      |
      | author email | john@example.com  |
      | author url   | http://myapp.com  |
      | app name     | John Test App     |
      | iframe uri   | assets/iframe.html |
      | app dir      |                   |

   Then the app file "manifest.json" is created
   And I reset the working directory

  Scenario: create a template for a new iframe only app by running 'zat new' command
    Given an app directory "tmp/aruba" exists
    And I move to the app directory
    When I run "zat new" command with the following details:
      | author name  | John Citizen      |
      | author email | john@example.com  |
      | author url   | http://myapp.com  |
      | app name     | John Test App     |
      | iframe uri   | assets/iframe.html |
      | app dir      | tmp/aruba         |

    Then the app file "tmp/aruba/manifest.json" is created with:
    """
{
 "name": "John Test App",
 "author": {
   "name": "John Citizen",
   "email": "john@example.com",
   "url": "http://myapp.com"
 },
 "defaultLocale": "en",
 "private": true,
 "location": {
   "support": {
     "ticket_sidebar": "assets/iframe.html"
   }
 },
 "version": "1.0",
 "frameworkVersion": "2.0"
}
   """
   And I reset the working directory

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
zendesk_apps_tools-3.8.5 features/new.feature
zendesk_apps_tools-3.8.4 features/new.feature
zendesk_apps_tools-3.8.3 features/new.feature
zendesk_apps_tools-3.8.2 features/new.feature
zendesk_apps_tools-3.8.1 features/new.feature
zendesk_apps_tools-3.8.0 features/new.feature
zendesk_apps_tools-3.7.1 features/new.feature
zendesk_apps_tools-3.6.1 features/new.feature
zendesk_apps_tools-3.6.0 features/new.feature
zendesk_apps_tools-3.5.1 features/new.feature
zendesk_apps_tools-3.5.0 features/new.feature
zendesk_apps_tools-3.4.0 features/new.feature
zendesk_apps_tools-3.3.0 features/new.feature
zendesk_apps_tools-3.2.4 features/new.feature
zendesk_apps_tools-3.2.3 features/new.feature
zendesk_apps_tools-3.2.2 features/new.feature
zendesk_apps_tools-3.2.1 features/new.feature
zendesk_apps_tools-3.2.0 features/new.feature
zendesk_apps_tools-3.1.2 features/new.feature
zendesk_apps_tools-3.1.1 features/new.feature