Sha256: bd12bb3c07007203bf70605d45c8b5d539b5bbd6c25f263b1ef92f96cf883b88

Contents?: true

Size: 454 Bytes

Versions: 16

Compression:

Stored size: 454 Bytes

Contents

@ruby_api
Feature: destroy double
  As api user
  I want to be able to destroy double 
  So that I can emulate 'service gone' in the middle of a test

  Scenario: list doubles
    Given I created a double:
    """
    @double = RestAssured::Double.create :fullpath => 'path'
    """

    When I destroy that double:
    """
    @double.destroy
    """

    Then the following should be true:
    """
    RestAssured::Double.all.size.should == 0
    """

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rest-assured-4.0.0 features/ruby_api/destroy_double.feature
rest-assured-3.0.1 features/ruby_api/destroy_double.feature
rest-assured-3.0.0 features/ruby_api/destroy_double.feature
rest-assured-2.2.0 features/ruby_api/destroy_double.feature
rest-assured-2.1.0 features/ruby_api/destroy_double.feature
rest-assured-2.0.2 features/ruby_api/destroy_double.feature
rest-assured-2.0.1 features/ruby_api/destroy_double.feature
rest-assured-2.0.0 features/ruby_api/destroy_double.feature
rest-assured-1.2.2 features/ruby_api/destroy_double.feature
rest-assured-1.2.1 features/ruby_api/destroy_double.feature
rest-assured-1.2.0 features/ruby_api/destroy_double.feature
rest-assured-1.1.10 features/ruby_api/destroy_double.feature
rest-assured-1.1.9 features/ruby_api/destroy_double.feature
rest-assured-1.1.8 features/ruby_api/destroy_double.feature
rest-assured-1.1.7 features/ruby_api/destroy_double.feature
rest-assured-1.1.6 features/ruby_api/destroy_double.feature