Sha256: 18da9a4d3bb81ce75634dceea9c581836d220c23bb63c5247624d5cfe5a4272d

Contents?: true

Size: 328 Bytes

Versions: 1

Compression:

Stored size: 328 Bytes

Contents

require 'test_helper'
require 'tagging'

class TaggingTest < ActiveSupport::TestCase
  fixtures :tags, :taggings, :posts

  def test_tag
    assert_equal tags(:good), taggings(:jonathan_sky_good).tag
  end

  def test_taggable
    assert_equal posts(:jonathan_sky), taggings(:jonathan_sky_good).taggable
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
acts_as_20ggable-1.0.0 test/lib/tagging_test.rb