public
Description: Rails plugin that paginates a model in a descendant order and works with i18n in the view
Homepage: www.diegocarrion.com
Clone URL: git://github.com/dcrec1/will_paginate_latests.git
Diego Carrion (author)
Wed Dec 03 08:57:35 -0800 2008
commit  cd041797f5d296159390f3b36343d0f9bc111dac
tree    e280bff42bb1adbb7746321245c7d7cd632ace82
parent  9cc42023d2e9c6a0268ffbb193412f774079f234
will_paginate_latests / spec / spec_helper.rb
100644 15 lines (11 sloc) 0.359 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ENV["RAILS_ENV"] = "test"
ENV['RAILS_ROOT'] ||= File.dirname(__FILE__) + '/../../../..'
require File.expand_path(File.join(ENV['RAILS_ROOT'], 'config/environment.rb'))
 
require 'spec'
require 'spec/rails'
 
class Railer < ActiveRecord::Base
end
 
ActionController::Routing::Routes.draw do |map|
  map.connect ':controller/:action'
  #map.resources :railers
end