From f5a663a5414b6ce236d01224521f64673f128ef7 Mon Sep 17 00:00:00 2001 From: Jan Berdajs Date: Sat, 12 Dec 2015 23:44:27 +0100 Subject: [PATCH] fix access to the EjectLinkedCassetteError error class --- lib/vcr/linked_cassette.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vcr/linked_cassette.rb b/lib/vcr/linked_cassette.rb index ac57f3e7..6e6009c2 100644 --- a/lib/vcr/linked_cassette.rb +++ b/lib/vcr/linked_cassette.rb @@ -60,7 +60,7 @@ def self.list(cassettes, linked_cassettes) # Prevents cassette ejection by raising EjectLinkedCassetteError def eject(*args) - raise EjectLinkedCassetteError, + raise Errors::EjectLinkedCassetteError, "cannot eject a cassette inserted by a parent thread" end