ref: master
plugins/lattes_curriculum/test/unit/lattes_curriculum_test.rb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
require "test_helper" class LattesCurriculumPluginTest < ActiveSupport::TestCase def setup @plugin = LattesCurriculumPlugin.new end should 'be a noosfero plugin' do assert_kind_of Noosfero::Plugin, @plugin end should 'have name' do assert_equal 'Lattes Curriculum Plugin', LattesCurriculumPlugin.plugin_name end should 'have description' do assert_equal _('A plugin that imports the lattes curriculum into the users profiles'), LattesCurriculumPlugin.plugin_description end should 'have stylesheet' do assert @plugin.stylesheet? end end |