test/yao/resources/test_base.rb in yao-0.8.0 vs test/yao/resources/test_base.rb in yao-0.9.0
- old
+ new
@@ -4,12 +4,12 @@
end
def test_friendly_attributes
base = Yao::Resources::Base.new({"id" => "foor"})
base.class.friendly_attributes(:name)
- assert_equal(base.name, "bar")
+ assert_equal("bar", base.name)
base = Yao::Resources::Base.new({"name" => "bar"})
base.class.friendly_attributes(:name)
- assert_equal(base.name, "bar")
+ assert_equal("bar", base.name)
end
end