test/test_helper.rb in attr_searchable-0.0.4 vs test/test_helper.rb in attr_searchable-0.0.5

- old
+ new

@@ -32,11 +32,11 @@ end class Product < ActiveRecord::Base include AttrSearchable - attr_searchable :title, :description, :brand, :stock, :price, :created_at, :created_on, :available + attr_searchable :title, :description, :brand, :notice, :stock, :price, :created_at, :created_on, :available attr_searchable :comment => ["comments.title", "comments.message"], :user => ["users.username", "users_products.username"] attr_searchable :primary => [:title, :description] attr_searchable_alias :users_products => :user @@ -79,9 +79,10 @@ t.float :price t.datetime :created_at t.date :created_on t.boolean :available t.string :brand + t.string :notice end ActiveRecord::Base.connection.create_table :comments do |t| t.references :product t.references :user