Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 334 Bytes
require File.expand_path('../helper', __FILE__)
class TestVenueStats < Test::Unit::TestCase
def test_initialize
stats = Foursquare::Merchant::VenueStats.new({'sharing' => {"twitter"=>233, "facebook"=>203}})
assert_kind_of(Hashie::Trash, stats)
assert_equal({"twitter"=>233, "facebook"=>203}, stats.sharing)
end
end
Jump to Line
Something went wrong with that request. Please try again.