Permalink
Browse files

Coomon scratch file for single tests.

  • Loading branch information...
1 parent e711055 commit 4d638050481dac376185902778c2ca1e44417cbc @metaskills metaskills committed Jan 13, 2011
Showing with 3 additions and 4 deletions.
  1. +3 −4 test/cases/{bbbbasic_test_sqlserver.rb → scratch_test_sqlserver.rb}
@@ -3,16 +3,15 @@
require 'models/book'
require 'models/post'
-class BBBBasicTestSqlserver < ActiveRecord::TestCase
+class ScratchTestSqlserver < ActiveRecord::TestCase
fixtures :tasks, :posts
setup :create_10_books
- should 'pass limit' do
- # Book.first
- Book.count :limit => 3, :offset => 5, :lock => 'WITH (NOLOCK)'
+ should 'pass' do
+ raise Book.all(:offset=>1).inspect
end

0 comments on commit 4d63805

Please sign in to comment.