Sha256: 4c5786fd5bc9da576c63cf74bc9cea85bbec575dba77c8cbf004e7b266f907f1
Contents?: true
Size: 824 Bytes
Versions: 9
Compression:
Stored size: 824 Bytes
Contents
#=require sharing_tags/share fixture.preload("vkontakte.json") xdescribe "SharingTags.VkontakteShare", -> # subject = SharingTags.VkontakteShare # # beforeEach -> # @vk_fixture = fixture.load("vkontakte.json")[0] # # it "expect defined class", -> # expect( SharingTags ).toBeDefined() # expect( SharingTags.VkontakteShare ).toBeDefined() # # describe "#share", -> # beforeEach -> # @vk = @vk_fixture.full # @share = new subject(@vk) # # it "expect open popup", -> # spyOn(@share, "share_popup") # # @share.share() # expect(@share.share_popup).toHaveBeenCalled() # expect(@share.share_popup).toHaveBeenCalledWith( # "http://vk.com/share.php", # jasmine.objectContaining(url: @vk.url, image: @vk.image, title: @vk.title, description: @vk.description) # )
Version data entries
9 entries across 9 versions & 1 rubygems