Permalink
Browse files

Corrected the wording on a couple of specs.

  • Loading branch information...
1 parent d7eb41e commit 6b148a09e6f6eba13fd01e125ae7f92fbe054f95 @myronmarston committed Mar 13, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/cassette_spec.rb
View
@@ -145,7 +145,7 @@
temp_dir File.expand_path(File.dirname(__FILE__) + '/fixtures/cassette_spec_destroy'), :assign_to_cache_dir => true
[true, false].each do |orig_allow_net_connect|
- it "resets FakeWeb.allow_net_connect #{orig_allow_net_connect} if it was originally #{orig_allow_net_connect}" do
+ it "resets FakeWeb.allow_net_connect to #{orig_allow_net_connect} if it was originally #{orig_allow_net_connect}" do
FakeWeb.allow_net_connect = orig_allow_net_connect
cassette = VCR::Cassette.new(:name)
cassette.destroy!
@@ -168,7 +168,7 @@
saved_recorded_responses.should == recorded_responses
end
- it "writes the recorded responses a subdirectory if the cassette name includes a directory" do
+ it "writes the recorded responses to a subdirectory if the cassette name includes a directory" do
recorded_responses = [VCR::RecordedResponse.new(:get, 'http://example.com', :get_example_dot_come_response)]
cassette = VCR::Cassette.new('subdirectory/test_cassette')
cassette.stub!(:recorded_responses).and_return(recorded_responses)

0 comments on commit 6b148a0

Please sign in to comment.