Refactoring tests and Validation callbacks

This commit is contained in:
Sam Lown 2011-06-09 01:05:22 +02:00
parent ea4325f5bf
commit 3579e0e334
47 changed files with 142 additions and 142 deletions

6
spec/fixtures/models/client.rb vendored Normal file
View file

@ -0,0 +1,6 @@
class Client < CouchRest::Model::Base
use_database DB
property :name
property :tax_code
end