Sha256: c217eed35704f6aca53e6bf149541b00b70aee9111e31a7757d5d25dd8e90088
Contents?: true
Size: 413 Bytes
Versions: 4
Compression:
Stored size: 413 Bytes
Contents
# encoding: utf-8 require File.dirname(__FILE__) + '/spec_helper' major, minor, patch = RUBY_VERSION.split('.') if major.to_i == 1 && minor.to_i < 9 describe "base" do before do $KCODE = 'NONE' end after do $KCODE = 'u' end it "should raise with invalid KCODE on Ruby < 1.9" do expect(lambda do require 'twitter-text' end).to raise_error end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
twitter-text-2.1.0 | spec/twitter_text_spec.rb |
twitter-text-2.0.2 | spec/twitter_text_spec.rb |
twitter-text-2.0.1 | spec/twitter_text_spec.rb |
twitter-text-2.0.0 | spec/twitter_text_spec.rb |