test/helpers/facebook_test.rb in nanoc_fuel-0.0.3 vs test/helpers/facebook_test.rb in nanoc_fuel-0.0.4

- old
+ new

@@ -4,12 +4,11 @@ include NanocFuel::Helpers::Facebook def test_fb_init html = %q{ -<div id="fb-root"></div> -<script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script> +<div id='fb-root'></div> <script type='text/javascript'> //<![CDATA[ window.fbAsyncInit = function() { FB.init({appId: '12345', status: true, cookie: true, xfbml: true}); fbInitHook(); @@ -40,10 +39,10 @@ assert_equal compact(html), compact(fb_comments('http://example.com', '10', '520')) end def test_fb_like_btn html = %q{ - <iframe allowTransparency='true' frameborder='0' scrolling='no' src='http://www.facebook.com/plugins/like.php?href&amp;amp;send=true&amp;amp;layout=standard&amp;amp;width=450&amp;amp;show_faces=true&amp;amp;action=like&amp;amp;colorscheme=light&amp;amp;font&amp;amp;height=80' style='border:none; overflow:hidden; width:450px; height:80px;'></iframe> + <iframe allowTransparency='true' frameborder='0' scrolling='no' src='//www.facebook.com/plugins/like.php?href&amp;amp;send=true&amp;amp;layout=standard&amp;amp;width=450&amp;amp;show_faces=true&amp;amp;action=like&amp;amp;colorscheme=light&amp;amp;font&amp;amp;height=80' style='border:none; overflow:hidden; width:450px; height:80px;'></iframe> } assert_equal compact(html), compact(fb_like_btn("standard", "450", "true", "true")) end end \ No newline at end of file