Permalink
Browse files

Merge pull request #1 from masterkain/patch-1

Fix exception
  • Loading branch information...
2 parents 691f674 + 0bc6773 commit c8fba080e237acd070bcb664ef8737cb5d882996 @unixcharles committed Jul 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/vcr_remote_controller.rb
View
2 lib/vcr_remote_controller.rb
@@ -28,7 +28,7 @@ def controller(env)
def cassettes
Dir["#{VCR::Config.cassette_library_dir}/**/*.yml"].map do |f|
- f.match(/^#{Regexp.escape(VCR::Config.cassette_library_dir)}\/(.+)\.yml/)[1]
+ f.match(/^#{Regexp.escape(VCR::Config.cassette_library_dir.to_s)}\/(.+)\.yml/)[1]
end
end

0 comments on commit c8fba08

Please sign in to comment.