Sha256: ce41d40ec1b7c19ec3b794daadc04c0efd53d566be6a2f7d77bdf9ce5f4558bd

Contents?: true

Size: 1.9 KB

Versions: 23

Compression:

Stored size: 1.9 KB

Contents

Feature: package a zendesk app into a zip file

  Background: create a new zendesk app


  Scenario: package a zendesk app by running 'zat package' command
    Given an app is created in directory "tmp/aruba"
    When I run the command "zat package --path tmp/aruba" to package the app
    And the command output should contain "adding assets/iframe.html"
    And the command output should contain "adding assets/logo-small.png"
    And the command output should contain "adding assets/logo.png"
    And the command output should contain "adding manifest.json"
    And the command output should contain "adding translations/en.json"
    And the command output should contain "created"
    And the zip file should exist in directory "tmp/aruba/tmp"

    Scenario: package a v1 zendesk app by running 'zat package' command
      Given a v1 app is created in directory "tmp/aruba"
      When I run the command "zat package --path tmp/aruba" to package the app
      And the command output should contain "adding app.js"
      And the command output should contain "adding templates/layout.hdbs"
      And the command output should contain "adding assets/logo-small.png"
      And the command output should contain "adding assets/logo.png"
      And the command output should contain "adding manifest.json"
      And the command output should contain "adding translations/en.json"
      And the command output should contain "created"
      And the zip file should exist in directory "tmp/aruba/tmp"

  Scenario: package a zendesk app by running 'zat package' command
    Given an app is created in directory "tmp/aruba"
    When I create a symlink from "./templates/translation.erb.tt" to "tmp/aruba/assets/translation.erb.tt"
    Then "tmp/aruba/assets/translation.erb.tt" should be a symlink
    When I run the command "zat package --path tmp/aruba" to package the app
    Then the zip file in "tmp/aruba/tmp" should not contain any symlinks

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
zendesk_apps_tools-2.0.4 features/package.feature
zendesk_apps_tools-2.0.3 features/package.feature
zendesk_apps_tools-2.0.2 features/package.feature
zendesk_apps_tools-2.0.1 features/package.feature
zendesk_apps_tools-2.0.0 features/package.feature
zendesk_apps_tools-1.37.5 features/package.feature
zendesk_apps_tools-1.37.4 features/package.feature
zendesk_apps_tools-1.37.3 features/package.feature
zendesk_apps_tools-1.37.2 features/package.feature
zendesk_apps_tools-1.37.1 features/package.feature
zendesk_apps_tools-1.37.0 features/package.feature
zendesk_apps_tools-1.36.3 features/package.feature
zendesk_apps_tools-1.36.2 features/package.feature
zendesk_apps_tools-1.36.1 features/package.feature
zendesk_apps_tools-1.36.0 features/package.feature
zendesk_apps_tools-1.35.12 features/package.feature
zendesk_apps_tools-1.35.11 features/package.feature
zendesk_apps_tools-1.35.10 features/package.feature
zendesk_apps_tools-1.35.9 features/package.feature
zendesk_apps_tools-1.35.8 features/package.feature