Skip to content
Browse files

expose I18n::VERSION

  • Loading branch information...
1 parent 6906706 commit b832037bac94c7144f45f3ff5e3b4e4089781726 @lawrencepit lawrencepit committed with josevalim Aug 4, 2010
Showing with 5 additions and 0 deletions.
  1. +1 −0 lib/i18n.rb
  2. +4 −0 test/i18n_test.rb
View
1 lib/i18n.rb
@@ -7,6 +7,7 @@
# Matt Aimonetti (http://railsontherun.com/)
# Copyright:: Copyright (c) 2008 The Ruby i18n Team
# License:: MIT
+require 'i18n/version'
require 'i18n/exceptions'
require 'i18n/core_ext/string/interpolate'
View
4 test/i18n_test.rb
@@ -14,6 +14,10 @@ def setup
}
end
+ def test_version
+ assert I18n::VERSION
+ end
+
def test_uses_simple_backend_set_by_default
assert I18n.backend.is_a?(I18n::Backend::Simple)
end

0 comments on commit b832037

Please sign in to comment.
Something went wrong with that request. Please try again.