mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
87b3e226d6
This reverts commit3420a14590
, reversing changes made toafb66a5a59
.
12 lines
335 B
Ruby
12 lines
335 B
Ruby
require "abstract_unit"
|
|
|
|
class VersionTest < ActiveSupport::TestCase
|
|
def test_rails_version_returns_a_string
|
|
assert Rails.version.is_a? String
|
|
end
|
|
|
|
def test_rails_gem_version_returns_a_correct_gem_version_object
|
|
assert Rails.gem_version.is_a? Gem::Version
|
|
assert_equal Rails.version, Rails.gem_version.to_s
|
|
end
|
|
end
|