Logo: Relish

  1. Sign in

Project: Rest-assured

destroy double

  • @ruby_api

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

Scenarios
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

Last published almost 7 years ago by artemave.