test/pelusa/lint/eval_usage_test.rb in pelusa-0.2.3 vs test/pelusa/lint/eval_usage_test.rb in pelusa-0.2.4

- old
+ new

@@ -14,11 +14,11 @@ def initialize @good = true end end RUBY - klass = klass_str.to_ast + klass = Pelusa.to_ast klass_str analysis = @lint.check(klass) analysis.successful?.must_equal true end end @@ -29,11 +29,11 @@ def initialize eval "@good = false" end end RUBY - klass = klass_str.to_ast + klass = Pelusa.to_ast klass_str analysis = @lint.check(klass) analysis.failed?.must_equal true end end @@ -45,10 +45,10 @@ @other_obj = Object.new @other_obj.eval "boom" end end RUBY - klass = klass_str.to_ast + klass = Pelusa.to_ast klass_str analysis = @lint.check(klass) analysis.successful?.must_equal true end end end \ No newline at end of file