Sha256: b99e7899c47be2166cdf9b70fcee2cb892025f6fa6746954eeafc007eb14e2f6

Contents?: true

Size: 751 Bytes

Versions: 18

Compression:

Stored size: 751 Bytes

Contents

require File.dirname(__FILE__) + '/../../../../spec/spec_helper'

module Spec::Example::ExampleGroupMethods
  alias :context :describe
end

plugin_spec_dir = File.dirname(__FILE__)
ActiveRecord::Base.logger = Logger.new(plugin_spec_dir + "/debug.log")

load(File.dirname(__FILE__) + '/schema.rb')

class TaggableModel < ActiveRecord::Base
  acts_as_taggable_on :tags, :languages
  acts_as_taggable_on :skills
end

class OtherTaggableModel < ActiveRecord::Base
  acts_as_taggable_on :tags, :languages
end

class InheritingTaggableModel < TaggableModel
end

class AlteredInheritingTaggableModel < TaggableModel
  acts_as_taggable_on :parts
end

class TaggableUser < ActiveRecord::Base
  acts_as_tagger
end

class UntaggableModel < ActiveRecord::Base
end

Version data entries

18 entries across 18 versions & 8 rubygems

Version Path
johnsbrn-acts-as-taggable-on-1.0.5 spec/spec_helper.rb
lawrencepit-acts-as-taggable-on-1.0.1 spec/spec_helper.rb
masover-acts-as-taggable-on-1.0.2.1 spec/spec_helper.rb
mbleigh-acts-as-taggable-on-1.0.1 spec/spec_helper.rb
mbleigh-acts-as-taggable-on-1.0.2 spec/spec_helper.rb
mbleigh-acts-as-taggable-on-1.0.3 spec/spec_helper.rb
mbleigh-acts-as-taggable-on-1.0.5 spec/spec_helper.rb
ozataman-acts-as-taggable-on-1.0.3 spec/spec_helper.rb
slitz-acts-as-taggable-on-1.0.2.1 spec/spec_helper.rb
slitz-acts-as-taggable-on-1.0.2.2 spec/spec_helper.rb
slitz-acts-as-taggable-on-1.0.2.3 spec/spec_helper.rb
wideopenspaces-acts-as-taggable-on-1.0.3 spec/spec_helper.rb
yury-acts-as-taggable-on-1.0.2 spec/spec_helper.rb
yury-acts-as-taggable-on-1.0.3 spec/spec_helper.rb
yury-acts-as-taggable-on-1.0.4 spec/spec_helper.rb
yury-acts-as-taggable-on-1.0.5 spec/spec_helper.rb
yury-acts-as-taggable-on-1.0.6 spec/spec_helper.rb
wideopenspaces-acts-as-taggable-on-1.0.4 spec/spec_helper.rb