spec/integration/format_validator_spec.rb in dm-validations-0.9.9 vs spec/integration/format_validator_spec.rb in dm-validations-0.9.10
- old
+ new
@@ -1,10 +1,10 @@
require 'pathname'
require Pathname(__FILE__).dirname.expand_path.parent + 'spec_helper'
describe DataMapper::Validate::FormatValidator do
before :all do
- class BillOfLading
+ class ::BillOfLading
include DataMapper::Resource
property :id, Serial
property :doc_no, String, :auto_validation => false
property :email, String, :auto_validation => false