Sha256: 0947900cb41a61638da62083c992e2d94d2954f0bd5e52bfecc61d982cef058d

Contents?: true

Size: 333 Bytes

Versions: 4

Compression:

Stored size: 333 Bytes

Contents

require 'test_helper'

class URLStrategyTest < Test::Unit::TestCase
  def test_youtube_strategy
    assert_equal(FormattedURL::Strategies::YoutubeURLStrategy, FormattedURL.strategy(:youtube))
  end

  def test_default_strategy
    assert_equal(FormattedURL::Strategies::DefaultURLStrategy, FormattedURL.strategy(:default))
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
formatted_url-0.0.6 test/url_strategy_test.rb
formatted_url-0.0.5 test/url_strategy_test.rb
formatted_url-0.0.4 test/url_strategy_test.rb
formatted_url-0.0.3 test/url_strategy_test.rb