test/unit/string_test.rb in jonuts-garb-0.2.3 vs test/unit/string_test.rb in jonuts-garb-0.2.4
- old
+ new
@@ -3,7 +3,11 @@
class StringTest < Test::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
\ No newline at end of file