Sha256: b5ca056aa46513686551939fb06405113291d4889ad91cf1bbb1c38042f5f5b9

Contents?: true

Size: 338 Bytes

Versions: 7

Compression:

Stored size: 338 Bytes

Contents

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

class TaggingTest < Test::Unit::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

7 entries across 7 versions & 5 rubygems

Version Path
elight-acts_as_taggable_on_steroids-1.1 test/tagging_test.rb
ggoodale-acts_as_taggable_on_steroids-1.1.1 test/tagging_test.rb
ggoodale-acts_as_taggable_on_steroids-1.1 test/tagging_test.rb
rotuka-taggable-0.0.1 test/tagging_test.rb
seamusabshere-acts_as_taggable_on_steroids-1.0 test/tagging_test.rb
seamusabshere-acts_as_taggable_on_steroids-1.3 test/tagging_test.rb
pictrails-0.5.0 vendor/plugins/acts_as_taggable_on_steroids/test/tagging_test.rb