summaryrefslogtreecommitdiff
path: root/spec/pry_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/pry_spec.rb')
-rw-r--r--spec/pry_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/pry_spec.rb b/spec/pry_spec.rb
index a727ae52..3be96b06 100644
--- a/spec/pry_spec.rb
+++ b/spec/pry_spec.rb
@@ -273,7 +273,7 @@ describe Pry do
t.eval "42"
res = t.eval "_out_"
- expect(res).to be_a_kind_of Pry::HistoryArray
+ expect(res).to be_a_kind_of(Pry::Ring)
expect(res[1..2]).to eq [:foo, 42]
end
@@ -283,7 +283,7 @@ describe Pry do
t.eval "42"
res = t.eval "_in_"
- expect(res).to be_a_kind_of Pry::HistoryArray
+ expect(res).to be_a_kind_of(Pry::Ring)
expect(res[1..2]).to eq [":foo\n", "42\n"]
end