Permalink
Browse files

Whoops. Don't know why I set this one to pending when it's available …

…now.
  • Loading branch information...
1 parent 8ce01fd commit 869bb30f007d0a968bec982655a3ac3d1eb6eca7 @jdunphy jdunphy committed Jan 21, 2009
Showing with 5 additions and 2 deletions.
  1. +5 −2 spec/sequel_taggable/sequel_taggable_spec.rb
View
7 spec/sequel_taggable/sequel_taggable_spec.rb
@@ -12,14 +12,17 @@ class TaggableTestModel < Sequel::Model
end
it "should respond to tag methods" do
- pending
-
@taggable.should respond_to(:tags)
@taggable.should respond_to(:add_tag)
@taggable.should respond_to(:remove_tag)
@taggable.should respond_to(:remove_all_tags)
end
+ it "should create tags and taggings associations" do
+ TaggableTestModel.associations.should include(:tags)
+ TaggableTestModel.associations.should include(:taggings)
+ end
+
end
describe "is :taggable, :on => (names)" do

0 comments on commit 869bb30

Please sign in to comment.