Refinement#include and Refinement#prepend have been deprecated
This commit is contained in:
parent
598382f686
commit
22a7f7ec5a
@ -664,6 +664,7 @@ describe "Module#refine" do
|
||||
end
|
||||
|
||||
context "when super is called in a refinement" do
|
||||
ruby_version_is ""..."3.1" do
|
||||
it "looks in the included to refinery module" do
|
||||
refined_class = ModuleSpecs.build_refined_class
|
||||
|
||||
@ -685,6 +686,7 @@ describe "Module#refine" do
|
||||
|
||||
result.should == "foo from included module"
|
||||
end
|
||||
end
|
||||
|
||||
it "looks in the refined class" do
|
||||
refined_class = ModuleSpecs.build_refined_class
|
||||
|
Loading…
x
Reference in New Issue
Block a user