Sha256: 143753146d8294b578f57c5a2e61bff7c8aff67417db013a6c56171d29c097d5
Contents?: true
Size: 808 Bytes
Versions: 4
Compression:
Stored size: 808 Bytes
Contents
#=require jquery #=require sharing_tags/share describe "Sharing Tags", -> it "expect defined class", -> expect( SharingTags ).toBeDefined() expect( SharingTags.share ).toBeDefined() describe ".share", -> beforeEach -> describe "facebook", -> beforeEach -> spyOn(SharingTags.Share, "facebook") spyOn(SharingTags.MobileShare, "facebook") it "expect mobile version", -> SharingTags.share('facebook', mobile: true, url: "url") expect(SharingTags.MobileShare.facebook).toHaveBeenCalled() it "expect desktop version", -> SharingTags.share('facebook') expect(SharingTags.Share.facebook).toHaveBeenCalled() # it "vkontakte" # it "twitter" # it "google" # it "odnoklassniki" # it "mailru" # it "linkedin"
Version data entries
4 entries across 4 versions & 1 rubygems