Sha256: 304e79869ed0c793b581113259b66f6cfa4842e104758b0d4586dd303e1ec70d
Contents?: true
Size: 378 Bytes
Versions: 11
Compression:
Stored size: 378 Bytes
Contents
# ~*~ encoding: utf-8 ~*~ require File.expand_path(File.join(File.dirname(__FILE__), "helper")) context "Precious::Helpers" do include Precious::Helpers test "extracting paths from URLs" do assert_nil extract_path('Eye-Of-Sauron') assert_equal 'Mordor', extract_path('Mordor/Sauron') assert_equal 'Mordor/Sauron', extract_path('Mordor/Sauron/Evil') end end
Version data entries
11 entries across 11 versions & 1 rubygems