Permalink
Browse files

Fix failing cuke.

The new persist_with option gets logged.
  • Loading branch information...
1 parent 924e703 commit d79146d138fe62c353b25cb7e74c8179e38d57b2 @myronmarston committed Apr 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 features/configuration/debug_logging.feature
@@ -30,7 +30,7 @@ Feature: Debug Logging
When I run `ruby debug_logger.rb record.log --with-server`
Then the file "record.log" should contain exactly:
"""
- [Cassette: 'example'] Initialized with options: {:record=>:once, :match_requests_on=>[:method, :uri], :serialize_with=>:yaml}
+ [Cassette: 'example'] Initialized with options: {:record=>:once, :match_requests_on=>[:method, :uri], :serialize_with=>:yaml, :persist_with=>:file_system}
[fakeweb] Handling request: [get http://localhost:7777/] (disabled: false)
[Cassette: 'example'] Initialized HTTPInteractionList with request matchers [:method, :uri] and 0 interaction(s): { }
[fakeweb] Identified request type (recordable) for [get http://localhost:7777/]
@@ -40,7 +40,7 @@ Feature: Debug Logging
When I run `ruby debug_logger.rb playback.log`
Then the file "playback.log" should contain exactly:
"""
- [Cassette: 'example'] Initialized with options: {:record=>:once, :match_requests_on=>[:method, :uri], :serialize_with=>:yaml}
+ [Cassette: 'example'] Initialized with options: {:record=>:once, :match_requests_on=>[:method, :uri], :serialize_with=>:yaml, :persist_with=>:file_system}
[fakeweb] Handling request: [get http://localhost:7777/] (disabled: false)
[Cassette: 'example'] Initialized HTTPInteractionList with request matchers [:method, :uri] and 1 interaction(s): { [get http://localhost:7777/] => [200 "Hello World"] }
[Cassette: 'example'] Checking if [get http://localhost:7777/] matches [get http://localhost:7777/] using [:method, :uri]

0 comments on commit d79146d

Please sign in to comment.