Sha256: aa21582bdc45254146723ee8319af9c0fb806a12a0a418397b4b0ecf541ffe4b
Contents?: true
Size: 386 Bytes
Versions: 7
Compression:
Stored size: 386 Bytes
Contents
require 'test_helper' module SocialUrl class GoogleTest < Minitest::Test def setup @options = { text: 'Hello World', url: 'http://example.com' } end def test_url opts = SocialUrl.normalize(@options) url = 'https://plus.google.com/share?url=http%3A%2F%2Fexample.com' assert_equal url, Google.new(opts).url end end end
Version data entries
7 entries across 7 versions & 1 rubygems