Sha256: 490cd6bd5996cd9a96a5f2dcd889be1c5b15e514c37adcb510c4de4fa7514b61

Contents?: true

Size: 340 Bytes

Versions: 1

Compression:

Stored size: 340 Bytes

Contents

require 'spec_helper'

describe "Tinted Tags" do
  before(:each) do
    Post.delete_all
    ActsAsTaggableOn::Tag.delete_all
    ActsAsTaggableOn::Tagging.delete_all
  end

  it "updates tag tints after save" do
    p = Post.new
    p.tag_list = 'one, two, three'
    p.save
    ActsAsTaggableOn::Tag.first.tint.should_not be_nil
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tinted_tags-0.0.2 spec/tinted_tags/tinted_tags_spec.rb