diff options
-rw-r--r-- | spec/models/has_tag_string_tag_spec.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/spec/models/has_tag_string_tag_spec.rb b/spec/models/has_tag_string_tag_spec.rb index c85f64b14..9dfcf3daf 100644 --- a/spec/models/has_tag_string_tag_spec.rb +++ b/spec/models/has_tag_string_tag_spec.rb @@ -1,11 +1,12 @@ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') -describe PublicBodyTag, " when fiddling with tag strings " do +describe HasTagString::HasTagStringTag, " when fiddling with tag strings " do fixtures :public_bodies it "should be able to make a new tag and save it" do - @tag = PublicBodyTag.new - @tag.public_body = public_bodies(:geraldine_public_body) + @tag = HasTagString::HasTagStringTag.new + @tag.model = 'PublicBody' + @tag.model_id = public_bodies(:geraldine_public_body).id @tag.name = "moo" @tag.save end |