Skip to content

Commit

Permalink
We should require the files we use.
Browse files Browse the repository at this point in the history
  • Loading branch information
myronmarston committed Oct 11, 2011
1 parent 429c208 commit ef54e61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/vcr/request_matcher_registry.rb
@@ -1,3 +1,5 @@
require 'vcr/errors'

module VCR
class RequestMatcherRegistry
DEFAULT_MATCHERS = [:method, :uri]
Expand Down
2 changes: 1 addition & 1 deletion spec/vcr/request_matcher_registry_spec.rb
Expand Up @@ -51,7 +51,7 @@ def request_with(values)
it 'raises an ArgumentError when no matcher has been registered for the given name' do
expect {
subject[:some_unregistered_matcher]
}.to raise_error(UnregisteredMatcherError)
}.to raise_error(VCR::Errors::UnregisteredMatcherError)
end

it 'returns an object that calls the named block when #matches? is called on it' do
Expand Down

0 comments on commit ef54e61

Please sign in to comment.