spec/interpreter/interpreter_spec.rb in nudge-0.0.1 vs spec/interpreter/interpreter_spec.rb in nudge-0.0.2
- old
+ new
@@ -185,10 +185,10 @@
it "should have #enable/#disable methods that add and remove the types from #types list" do
@ii.enable(IntType)
@ii.enable(BoolType)
@ii.disable(IntType)
- @ii.active?(IntType).should == false
+ @ii.active?(NudgeType::IntType).should == false
@ii.active?(BoolType).should == true
@ii.enable(IntType)
@ii.active?(IntType).should == true
@ii.active?(BoolType).should == true
end