public
Fork of mislav/will_paginate
Description: Most awesome pagination solution for Rails
Homepage: http://github.com/mislav/will_paginate/wikis
Clone URL: git://github.com/technoweenie/will_paginate.git
Search Repo:
other tests should still run even if the user doesn't have sqlite3
mislav (author)
Sun Apr 06 17:49:28 -0700 2008
commit  9219a39073fe1fd73bc8652f738a82656a4a8486
tree    59671264ed19a60c5636df2ff5a013c259fc7b67
parent  1464c8bfde3372b6a0b7bbac9bd39e7caad69454
...
275
276
277
278
 
279
280
281
...
275
276
277
 
278
279
280
281
0
@@ -275,7 +275,7 @@
0
   end
0
 
0
   # Is this Rails 2.0? Find out by testing find_all which was removed in [6998]
0
- unless Developer.respond_to? :find_all
0
+ unless ActiveRecord::Base.respond_to? :find_all
0
     def test_paginate_array_of_ids
0
       # AR finders also accept arrays of IDs
0
       # (this was broken in Rails before [6912])
...
20
21
22
23
24
 
 
25
26
27
...
20
21
22
 
 
23
24
25
26
27
0
@@ -20,8 +20,8 @@
0
       self.connected = true
0
     end
0
   rescue Exception => e # errors from ActiveRecord setup
0
- $stderr.puts "\nSkipping ActiveRecord assertion tests: #{e}"
0
- #$stderr.puts " #{e.backtrace.join("\n ")}\n"
0
+ $stderr.puts "\nSkipping ActiveRecord tests: #{e}"
0
+ $stderr.puts "Install SQLite3 to run the full test suite for will_paginate.\n\n"
0
     self.able_to_connect = false
0
   end
0
 

Comments

    No one has commented yet.