Skip to content

Commit

Permalink
Merge pull request vcr#535 from mrbrdo/fix_uninit_const_error
Browse files Browse the repository at this point in the history
fix access to the EjectLinkedCassetteError error class
  • Loading branch information
mcfiredrill committed Dec 13, 2015
2 parents 661b096 + f5a663a commit ad695c9
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 ad695c9

Please sign in to comment.