Add a test case for comparing Rails versions

558d402472
This commit is contained in:
Sam Ruby 2013-05-03 10:37:22 -04:00
parent 9a4268db99
commit ec92d8440f

@ -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