Sha256: 1611335e5e4a860320e6427aa583a2d27b4c086e217dd1cca01f9eef05e38cb3

Contents?: true

Size: 364 Bytes

Versions: 2

Compression:

Stored size: 364 Bytes

Contents

require File.dirname(__FILE__) + '/../test_helper'

module YeshuaCrm
  module ActsAsTaggable
    class TaggingTest < ActiveSupport::TestCase
      def test_tag
        assert_equal tags(:error), taggings(:tag_for_error).tag
      end

      def test_taggable
        assert_equal issues(:first_issue), taggings(:tag_for_error).taggable
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yeshua_crm-1.0.1 test/acts_as_taggable/tagging_test.rb
yeshua_crm-1.0.0 test/acts_as_taggable/tagging_test.rb