test/test_region.rb in scaffolder-0.4.3 vs test/test_region.rb in scaffolder-0.4.4

- old
+ new

@@ -9,10 +9,11 @@ @attr = :some_attribute end should "create a single accessor attribute" do Scaffolder::Region.attribute @attr - assert(Scaffolder::Region.instance_methods.include? @attr.to_s) + methods = Scaffolder::Region.instance_methods.map{|m| m.to_s} + assert(methods.include?(@attr.to_s)) end should "return nil until attribute value is stored" do Scaffolder::Region.attribute @attr region = Scaffolder::Region.new