class TestActLicense

Public Instance Methods

test_all() click to toggle source
# File vendor/qwik/lib/qwik/act-license.rb, line 48
    def test_all
      ok_wi([:div, {:class=>'notice'}, [:p, 't']], "{{notice\nt\n}}")

      # test_act_license
      ok_wi([:div, {:class=>'license'},
              [:p, 'You can use the files on this site under ',
                [:a, {:href=>'http://creativecommons.org/licenses/by/2.1/jp/'},
                  'Creative Commons by 2.1'], ' license.']],
            "{{license(cc)}}")

#      @action.plg_license('cc')
#      @action.plg_license('cc-by-sa-2.5')
#      @action.plg_license('upload-cc-by-sa-2.5')
    end