Sha256: 75c838d69c8646d7f750d466262a22ff1ca24c416492bbec19d551d1aa2cac95
Contents?: true
Size: 418 Bytes
Versions: 2
Compression:
Stored size: 418 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 lambda do require 'twitter-text-relative' end.should raise_error end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
twitter-text-relative-1.6.2.3 | spec/twitter_text_spec.rb |
twitter-text-relative-1.6.2.pre.3 | spec/twitter_text_spec.rb |