提交 ec92d844 编写于 作者: S Sam Ruby
上级 9a4268db
......@@ -37,6 +37,11 @@ def test_property_with_block
assert_property 'Goodbye', 'World'
end
def test_rails_version
assert_property 'Rails version',
File.read(File.realpath('../../../RAILS_VERSION', __FILE__)).chomp
end
def test_framework_version
assert_property 'Active Support version', ActiveSupport.version.to_s
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册