Sha256: bda50914f0ada55bd8d57843137d3710dccd473b85d90f6fb2cb7de6af861dcc

Contents?: true

Size: 457 Bytes

Versions: 24

Compression:

Stored size: 457 Bytes

Contents

require 'test/unit'
require 'rubygems'
require 'active_record'
require 'active_support'
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

24 entries across 24 versions & 3 rubygems

Version Path
kdmny-spree-0.0.1 vendor/plugins/find_by_param/test/test_helper.rb
spree-0.11.4 vendor/plugins/find_by_param/test/test_helper.rb
spree-0.11.3 vendor/plugins/find_by_param/test/test_helper.rb
spree-0.11.2 vendor/plugins/find_by_param/test/test_helper.rb
spree-0.11.1 vendor/plugins/find_by_param/test/test_helper.rb
spree-0.11.0 vendor/plugins/find_by_param/test/test_helper.rb
spree-0.10.2 vendor/plugins/find_by_param/test/test_helper.rb
spree-0.10.1 vendor/plugins/find_by_param/test/test_helper.rb
spree-0.10.0 vendor/plugins/find_by_param/test/test_helper.rb
spree-0.10.0.beta vendor/plugins/find_by_param/test/test_helper.rb
spree-enriquez-0.9.4 vendor/plugins/find_by_param/test/test_helper.rb
spree-0.9.4 vendor/plugins/find_by_param/test/test_helper.rb
spree-0.9.3 vendor/plugins/find_by_param/test/test_helper.rb
spree-0.9.2 vendor/plugins/find_by_param/test/test_helper.rb
spree-0.9.1 vendor/plugins/find_by_param/test/test_helper.rb
spree-0.9.0 vendor/plugins/find_by_param/test/test_helper.rb
spree-0.8.4 vendor/plugins/find_by_param/test/test_helper.rb
spree-0.8.5 vendor/plugins/find_by_param/test/test_helper.rb
spree-0.7.1 vendor/plugins/find_by_param/test/test_helper.rb
spree-0.7.0 vendor/plugins/find_by_param/test/test_helper.rb