Sha256: 4dd36e5019660f80cd800bee17e4b3aaf52d877741925b081c7a418017a4c016
Contents?: true
Size: 586 Bytes
Versions: 6
Compression:
Stored size: 586 Bytes
Contents
require 'helper' class FacebookTest < Minitest::Test def test_total VCR.use_cassette("facebook") do @p = Popularity::Facebook.new('http://google.com') assert_equal (@p.shares + @p.comments), @p.total end end def test_comments VCR.use_cassette("facebook") do @p = Popularity::Facebook.new('http://google.com') assert_equal 10121, @p.comments end end def test_shares VCR.use_cassette("facebook") do @p = Popularity::Facebook.new('http://google.com') assert_equal 12081903, @p.shares end end end
Version data entries
6 entries across 3 versions & 1 rubygems