Sha256: 20e4348a83fb5d54e4e4d9c4a590475f19e778b87a0345c83e838b33d76ac4b7
Contents?: true
Size: 487 Bytes
Versions: 7
Compression:
Stored size: 487 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) klass.public_instance_methods.map(&:to_sym).should include(:localize) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems