Sha256: de34a294385db6dec1bae41f1ab31732c331e5190227a6fe0555e5d838209c6f
Contents?: true
Size: 403 Bytes
Versions: 3
Compression:
Stored size: 403 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 'ritter' end.should raise_error end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ritter-0.0.91 | spec/twitter_text_spec.rb |
ritter-0.0.90 | spec/twitter_text_spec.rb |
ritter-0.0.89 | spec/twitter_text_spec.rb |