Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Recover deleted test

  • Loading branch information...
commit fe4090b81416d148e2b90792b5e37c6d2ae161ef 1 parent 2101dbc
@unindented unindented authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 spec/acts_as_taggable_on/tagger_spec.rb
View
6 spec/acts_as_taggable_on/tagger_spec.rb
@@ -103,6 +103,12 @@
@user.is_tagger?.should(be_true)
end
+ it "should skip save if skip_save is passed as option" do
+ lambda {
+ @user.tag(@taggable, :with => 'epic', :on => :tags, :skip_save => true)
+ }.should_not change(ActsAsTaggableOn::Tagging, :count)
+ end
+
describe "Single Table Inheritance" do
before do
@user3 = InheritingTaggableUser.create
Please sign in to comment.
Something went wrong with that request. Please try again.