1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

spec: rm stray reference to OpenStruct

OpenStruct was removed in 91d412c044, but
a stray reference remained in the test suite. Remove it here.
This commit is contained in:
Ken Dreyer 2014-12-09 20:44:02 -07:00
parent 9afc501b41
commit 70942ad3b2

View file

@ -368,7 +368,7 @@ describe Pry::Hooks do
describe "after_session hook" do
it 'should always run, even if uncaught exception bubbles out of repl' do
o = OpenStruct.new
o = Pry::Config.new
o.great_escape = Class.new(StandardError)
old_ew = Pry.config.exception_whitelist