Sha256: 642a14bf0a67ca705ba687decc7bc77c2e9bb6143c686c23749fbe5a24b45a4c
Contents?: true
Size: 491 Bytes
Versions: 11
Compression:
Stored size: 491 Bytes
Contents
# encoding: UTF-8 # Copyright 2012 Twitter, Inc # http://www.apache.org/licenses/LICENSE-2.0 require 'spec_helper' describe 'Core classes localization' do [Array, Bignum, DateTime, Fixnum, Float, String, Symbol, Time].each do |klass| describe klass do it 'has public instance method #localize' do # convert methods names to symbols (they're strings in 1.8) expect(klass.public_instance_methods.map(&:to_sym)).to include(:localize) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems