Sha256: d53c63baf8f19f04a0a2bb6d09591148bf88791e3bd0f192d4444f90f7af805b

Contents?: true

Size: 473 Bytes

Versions: 5

Compression:

Stored size: 473 Bytes

Contents

require 'test/unit'
require 'rubygems'
require 'active_record'
require 'active_support'
require 'iconv'
require 'find_by_param'
class ActiveRecord::Base
  class_inheritable_accessor :permalink_options
  self.permalink_options = {:param => :id}
end
ActiveRecord::Base.send(:include, Railslove::Plugins::FindByParam)

ActiveRecord::Base.establish_connection({
    'adapter' => 'sqlite3',
    'database' => ':memory:'
  })
load(File.join(File.dirname(__FILE__), 'schema.rb'))

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree-0.4.0 vendor/plugins/find_by_param/test/test_helper.rb
spree-0.4.1 vendor/plugins/find_by_param/test/test_helper.rb
spree-0.5.0 vendor/plugins/find_by_param/test/test_helper.rb
spree-0.5.1 vendor/plugins/find_by_param/test/test_helper.rb
spree-0.6.0 vendor/plugins/find_by_param/test/test_helper.rb