Permalink
Browse files

Moved all of the extensions into their own folder.

  • Loading branch information...
1 parent 72c3fb2 commit 1679d4f8ea647fba5fa6a3fdf243ea3f0fcdc025 @myronmarston committed Feb 26, 2010
View
@@ -1,11 +1,12 @@
require 'vcr/cassette'
require 'vcr/config'
require 'vcr/cucumber_tags'
-require 'vcr/fake_web_extensions'
-require 'vcr/net_http_extensions'
-require 'vcr/net_read_adapter_extensions'
require 'vcr/recorded_response'
+require 'vcr/extensions/fake_web'
+require 'vcr/extensions/net_http'
+require 'vcr/extensions/net_read_adapter'
+
module VCR
extend self
@@ -1,6 +1,6 @@
-require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
+require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
-describe "FakeWebExtensions" do
+describe "FakeWeb Extensions" do
describe "#remove_from_registry with (:get, 'http://example.com')" do
before(:each) do
FakeWeb.register_uri(:get, 'http://example.com', :body => "Example dot com!")
@@ -1,6 +1,6 @@
-require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
+require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
-describe "NetHttpExtensions" do
+describe "Net::HTTP Extensions" do
before(:all) do
@orig_allow_net_connect = FakeWeb.allow_net_connect?
FakeWeb.allow_net_connect = true
@@ -1,4 +1,4 @@
-require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
+require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe 'Net::ReadAdapter extensions' do
it 'delegates yaml serialization to the body string' do

0 comments on commit 1679d4f

Please sign in to comment.