test/pelusa/class_analyzer_test.rb in pelusa-0.2.3 vs test/pelusa/class_analyzer_test.rb in pelusa-0.2.4
- old
+ new
@@ -23,16 +23,16 @@
end
describe "#type" do
it "returns the type module for modules" do
# hacky!
- @klass.stubs(:is_a?).with(Rubinius::AST::Class).returns(true)
+ @klass.stubs(:is_a?).with(Rubinius::ToolSets::Runtime::ToolSet::AST::Class).returns(true)
@analyzer.type.must_equal "class"
end
it "returns the type module for modules" do
# hacky!
- @klass.stubs(:is_a?).with(Rubinius::AST::Class).returns(false)
+ @klass.stubs(:is_a?).with(Rubinius::ToolSets::Runtime::ToolSet::AST::Class).returns(false)
@analyzer.type.must_equal "module"
end
end
end
end