cirandas.net

ref: master

plugins/social_share_privacy/test/unit/social_share_privacy_helper_test.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
require 'test_helper'

class SocialSharePrivacyPluginHelperTest < ActiveSupport::TestCase

  include SocialSharePrivacyPluginHelper

  should 'list social networks provided' do
    assert_equal ['buffer', 'facebook', 'gplus', 'mail', 'stumbleupon', 'xing', 'delicious', 'fbshare', 'hackernews', 'pinterest', 'tumblr', 'disqus', 'flattr', 'linkedin', 'reddit', 'twitter'].sort, social_share_privacy_networks.sort
  end

end