Sha256: 246566bdb72594c77baf49d55d58fa66e3bea2581c43bd9f58790d8bdc80cdde

Contents?: true

Size: 1.94 KB

Versions: 1

Compression:

Stored size: 1.94 KB

Contents

Feature: Assign DNS to environment IP address
  I want to assign DNS record to an AppCloud environment IP address

  Background:
    Given I have setup my engineyard email/password for API access
    And I have "two apps" in AppCloud
    And I have setup my dnsimple credentials
    And I have DNSimple domain "myapp.com"
    
  Scenario: Assign new DNS A Record to an environment
    When I run local executable "ey-dnsimple" with arguments "assign myapp.com --account main --environment giblets"
    Then I should see matching
      """
      Fetching AppCloud environment information...
      Found AppCloud environment giblets on account main with IP 174.129.7.113
      Assigning myapp.com --> 174.129.7.113 (main/giblets)
      Created A record for myapp.com (id:\d+)
      Assigning www.myapp.com --> 174.129.7.113 (main/giblets)
      Created A record for myapp.com (id:\d+)
      Complete!
      Found 2 records for myapp.com
      	.myapp.com (A)-> 174.129.7.113 (ttl:60, id:\d+)
      	www.myapp.com (A)-> 174.129.7.113 (ttl:60, id:\d+)
      """
  
  Scenario: Resssign DNS A Record to an environment
    When I run local executable "ey-dnsimple" with arguments "assign myapp.com --account main --environment giblets"
    And I run local executable "ey-dnsimple" with arguments "assign myapp.com --account main --environment giblets --override"
    Then I should see matching
      """
      Fetching AppCloud environment information...
      Found AppCloud environment giblets on account main with IP 174.129.7.113
      Deleted \d+ from myapp.com
      Deleted \d+ from myapp.com
      Assigning myapp.com --> 174.129.7.113 (main/giblets)
      Created A record for myapp.com (id:\d+)
      Assigning www.myapp.com --> 174.129.7.113 (main/giblets)
      Created A record for myapp.com (id:\d+)
      Complete!
      Found 2 records for myapp.com
      	.myapp.com (A)-> 174.129.7.113 (ttl:60, id:\d+)
      	www.myapp.com (A)-> 174.129.7.113 (ttl:60, id:\d+)
      """

  
  

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
engineyard-dnsimple-0.2.0 features/assign_dns_to_environment.feature