Sha256: 3d4998f323a4f140771ddecc1a7726994516ae4aa081554a02bffacc40ff030e
Contents?: true
Size: 532 Bytes
Versions: 2
Compression:
Stored size: 532 Bytes
Contents
#=require sharing_tags/share #=require sharing_tags/share/facebook #=require sharing_tags/share/callback fixture.preload("facebook.json") describe "SharingTags.Share.Callback", -> subject = SharingTags.Share.Callback beforeEach -> @fb_fixture = fixture.load("facebook.json")[0] @fb = @fb_fixture.fb_ui @share = new SharingTags.Share @fb @callback = new subject(@share) it "expect get network and context attr from share", -> expect( @callback.network ).toBe "facebook" # todo: check all callbacks
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sharing_tags-0.0.15 | spec/javascripts/sharing_tags/share/callback_spec.coffee |
sharing_tags-0.0.14 | spec/javascripts/sharing_tags/share/callback_spec.coffee |