Skip to content

Commit

Permalink
escape chars in regex (test warnings)
Browse files Browse the repository at this point in the history
  • Loading branch information
josephsofaer committed Dec 15, 2009
1 parent 3a9fc38 commit dc4c3c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/facebooker/rails_integration_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,7 @@ def test_fb_connect_stream_publish
stream_post.target="12451752"
stream_post.attachment = attachment

assert @h.fb_connect_stream_publish(stream_post).match(/FB.Connect\.streamPublish\(\"message\", {\"name\":\s?\"name\"}, \[], \"12451752\", null, null, false, null\);/)
assert @h.fb_connect_stream_publish(stream_post).match(/FB.Connect\.streamPublish\(\"message\", \{\"name\":\s?\"name\"\}, \[\], \"12451752\", null, null, false, null\);/)
end

def test_fb_connect_javascript_tag
Expand Down

0 comments on commit dc4c3c5

Please sign in to comment.