Sha256: 5e14d5abf32d5085f04294a3b0b3f17e4be5c8b7820257d7f580ecbb0e8e98de
Contents?: true
Size: 340 Bytes
Versions: 5
Compression:
Stored size: 340 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', '/test_helper') class StringTest < MiniTest::Unit::TestCase context "An instance of a String" do should 'prefix a string with ga: for GA' do assert_equal 'ga:bob', 'bob'.to_ga end should 'remove ga: prefix' do assert_equal 'bob', 'ga:bob'.from_ga end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
garb-0.4.1 | test/unit/string_test.rb |
garb-0.4.0 | test/unit/string_test.rb |
garb-0.3.2 | test/unit/string_test.rb |
garb-0.3.1 | test/unit/string_test.rb |
garb-0.3.0 | test/unit/string_test.rb |