Sha256: efcc3fc0800f451a21b951adf3fb57b3188eecaaebfa3cef88f7450f600e7b01

Contents?: true

Size: 369 Bytes

Versions: 1

Compression:

Stored size: 369 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe CouchRest::Validation::ValidatesUniqueness do
  
  class SomeExtDoc < CouchRest::ExtendedDocument
    include CouchRest::Validation
    use_database SPEC_COUCH
  end
  
  it "should provide validates_uniqueness_of method" do
    SomeExtDoc.should respond_to :validates_uniqueness_of
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
couchrest-uniqueness-validation-0.0.1 spec/couchrest-uniqueness-validation_spec.rb