Skip to content

Commit

Permalink
fix access to the EjectLinkedCassetteError error class
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbrdo committed Dec 12, 2015
1 parent 661b096 commit f5a663a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vcr/linked_cassette.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f5a663a

Please sign in to comment.