Sha256: 562611d873c7e422f520a9c71eeae09cd285f92a38b6204d761aed797f50325c
Contents?: true
Size: 687 Bytes
Versions: 6
Compression:
Stored size: 687 Bytes
Contents
#=require jquery #=require sharing_tags/share describe "SharingTags.share", -> it "expect defined class", -> expect( SharingTags ).toBeDefined() expect( SharingTags.share ).toBeDefined() describe ".share", -> describe "facebook", -> beforeEach -> spyOn(SharingTags.Share, "facebook") it "expect calling", -> SharingTags.share('facebook') expect(SharingTags.Share.facebook).toHaveBeenCalled() describe "vkontakte", -> beforeEach -> spyOn(SharingTags.Share, "vkontakte") it "expect desktop version", -> SharingTags.share('vkontakte') expect(SharingTags.Share.vkontakte).toHaveBeenCalled()
Version data entries
6 entries across 6 versions & 1 rubygems