Sha256: 48af60858c66a9f338e75351332b40fadd725f7cfd1556c8bc65e7ea99438126
Contents?: true
Size: 1009 Bytes
Versions: 3
Compression:
Stored size: 1009 Bytes
Contents
Feature: The Mirage client can be used to snaphsot and rollback the Mirage server Background: Given the following gems are required to run the Mirage client test code: """ require 'rubygems' require 'rspec' require 'mirage' """ And I send PUT to 'http://localhost:7001/mirage/templates/greeting' with request entity """ The default greeting """ Scenario: saving and reverting Given I run """ Mirage::Client.new.save """ And I send PUT to 'http://localhost:7001/mirage/templates/leaving' with request entity """ Goodbye """ And I send PUT to 'http://localhost:7001/mirage/set/greeting' with request entity """ Changed """ When I run """ Mirage::Client.new.revert """ And I send GET to 'http://localhost:7001/mirage/responses/leaving' Then a 404 should be returned When I send GET to 'http://localhost:7001/mirage/responses/greeting' Then 'The default greeting' should be returned
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mirage-2.0.0.alpha3 | features/client/save_and_revert.feature |
mirage-2.0.0.alpha2 | features/client/save_and_revert.feature |
mirage-2.0.0.alpha1 | features/client/save_and_revert.feature |