Sha256: 52ca90b444728c2408673270bbdb820ccb2260d53ed5aea26d1b9e250c78ae86
Contents?: true
Size: 350 Bytes
Versions: 4
Compression:
Stored size: 350 Bytes
Contents
require 'test_helper' class DefaultURLStrategyTest < Test::Unit::TestCase def setup @strategy = FormattedURL::Strategies::DefaultURLStrategy end def test_default_url_always_return_same_url [:default, :short, :embed].each do |format| assert_equal(@strategy.url('http://google.com',format), 'http://google.com') end end end
Version data entries
4 entries across 4 versions & 1 rubygems