Sha256: 9a63d18bb5fbd7d2cc3248bddb62d9537ce86ce74b990a983027604367f79807

Contents?: true

Size: 1.17 KB

Versions: 53

Compression:

Stored size: 1.17 KB

Contents

Feature: package a zendesk app into a zip file

  Background: create a new zendesk app
    Given an app is created in directory "tmp/aruba"

  Scenario: package a zendesk app by running 'zat package' command
    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 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 templates/layout.hdbs"
    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
    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

53 entries across 53 versions & 1 rubygems

Version Path
zendesk_apps_tools-1.17.0 features/package.feature
zendesk_apps_tools-1.15.1 features/package.feature
zendesk_apps_tools-1.15.0 features/package.feature
zendesk_apps_tools-1.14.2 features/package.feature
zendesk_apps_tools-1.14.1 features/package.feature
zendesk_apps_tools-1.14.0 features/package.feature
zendesk_apps_tools-1.13.2 features/package.feature
zendesk_apps_tools-1.13.1 features/package.feature
zendesk_apps_tools-1.13.0 features/package.feature
zendesk_apps_tools-1.12.0 features/package.feature
zendesk_apps_tools-1.11.0 features/package.feature
zendesk_apps_tools-1.10.0 features/package.feature
zendesk_apps_tools-1.9.0 features/package.feature