Skip to content

Commit

Permalink
test for case sensivity of tag
Browse files Browse the repository at this point in the history
  • Loading branch information
artemk committed Sep 26, 2011
1 parent cfb3f07 commit cee0753
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/acts_as_taggable_on/tag_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@

describe "named like any" do
before(:each) do
ActsAsTaggableOn::Tag.create(:name => "Awesome")
ActsAsTaggableOn::Tag.create(:name => "awesome")
ActsAsTaggableOn::Tag.create(:name => "epic")
end

it "should find both tags" do
ActsAsTaggableOn::Tag.named_like_any(["awesome", "epic"]).should have(2).items
ActsAsTaggableOn::Tag.named_like_any(["awesome", "epic"]).should have(3).items
end
end

Expand Down

0 comments on commit cee0753

Please sign in to comment.