Permalink
Browse files

option to turn off cassettes is :ignore_cassettes. error message help…

… said it was :ignore_cassette, singular. This makes it nicer when you run into this problem :)
  • Loading branch information...
1 parent 53023c2 commit d70f8e22edcba1b4aa2121ecb9aa54b15e763366 Bradley committed Jun 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/vcr.rb
View
2 lib/vcr.rb
@@ -58,7 +58,7 @@ def insert_cassette(name, options = {})
cassette
elsif !ignore_cassettes?
message = "VCR is turned off. You must turn it on before you can insert a cassette. " +
- "Or you can use the `:ignore_cassette => true` option to completely ignore cassette insertions."
+ "Or you can use the `:ignore_cassettes => true` option to completely ignore cassette insertions."
raise TurnedOffError.new(message)
end
end

0 comments on commit d70f8e2

Please sign in to comment.