Skip to content

Commit

Permalink
expose I18n::VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrencepit authored and josevalim committed Oct 10, 2010
1 parent 6906706 commit b832037
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/i18n.rb
Expand Up @@ -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'

Expand Down
4 changes: 4 additions & 0 deletions test/i18n_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit b832037

Please sign in to comment.