mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
fix 2.4 warning in specs about deprecated constant (Fixnum).
This commit is contained in:
parent
f35957d42f
commit
efef49da8a
1 changed files with 2 additions and 1 deletions
|
@ -415,7 +415,8 @@ describe Pry::Method do
|
|||
end
|
||||
|
||||
it "should not include singleton classes of numbers" do
|
||||
expect(Pry::Method.resolution_order(4)).to eq Pry::Method.instance_resolution_order(Fixnum)
|
||||
target_class = 4.class
|
||||
expect(Pry::Method.resolution_order(4)).to eq Pry::Method.instance_resolution_order(target_class)
|
||||
end
|
||||
|
||||
it "should include singleton classes for classes" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue