Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Rohit fixed a spec for running on CI

  • Loading branch information...
commit 1c95b88ae8ac69eed2374247199b337cf4cffcf1 1 parent 5478c37
@rohitggarg rohitggarg authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 spec/coffeescripts/facebook_share_spec.js.coffee
View
4 spec/coffeescripts/facebook_share_spec.js.coffee
@@ -48,7 +48,9 @@ describe "FacebookFriend ", ->
window.FB.ui = (data) ->
expect(data.method).toEqual('feed')
expect(data.to).toEqual(123)
- expect(data.redirect_uri).toEqual('http://localhost:8888/widget/facebook/share-redirect?facebook_id=123&link=test')
+ expect(data.redirect_uri).toMatch("facebook_id=123")
+ expect(data.redirect_uri).toMatch("link=test")
+ expect(data.redirect_uri).toMatch("facebook/share-redirect")
facebookFriend = new app.models.FacebookFriend(id: 123)
facebookFriendView = new app.views.FacebookFriendView(model: facebookFriend, el: $('#sandbox'))
Please sign in to comment.
Something went wrong with that request. Please try again.