summaryrefslogtreecommitdiff
path: root/spec/config_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/config_spec.rb')
-rw-r--r--spec/config_spec.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/spec/config_spec.rb b/spec/config_spec.rb
index 08c6cbf6..a4e09613 100644
--- a/spec/config_spec.rb
+++ b/spec/config_spec.rb
@@ -19,10 +19,9 @@ RSpec.describe Pry::Config do
end
it "recursively walks an Array" do
- c = described_class.from_hash(ary: [{ number: 2 }, Object, BasicObject.new])
+ c = described_class.from_hash(ary: [{ number: 2 }, Object])
expect(c.ary[0].number).to eq(2)
expect(c.ary[1]).to eq(Object)
- expect(BasicObject === c.ary[2]).to be(true)
end
end
@@ -276,13 +275,6 @@ RSpec.describe Pry::Config do
expect(c['foo']).to_not equal(c['foo'])
end
end
-
- context "when returning an instance of BasicObject" do
- it "returns without raising an error" do
- c = described_class.from_hash(foo: BasicObject.new)
- expect(BasicObject === c['foo']).to be(true)
- end
- end
end
describe "#eager_load!" do