Sha256: 872d659124d730e107330dd3376323f2d80559aa59b9074389d33a1ebe3da867

Contents?: true

Size: 302 Bytes

Versions: 5

Compression:

Stored size: 302 Bytes

Contents

require 'spec_helper'

describe 'CouchPotato Validation' do
  
  describe "access to errors object" do
    it "should description" do
      model_class = Class.new
      model_class.send(:include, CouchPotato::Persistence)
      expect(model_class.new.errors).to respond_to(:errors)
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
couch_potato-1.7.1 spec/unit/validation_spec.rb
couch_potato-1.7.0 spec/unit/validation_spec.rb
couch_potato-1.6.5 spec/unit/validation_spec.rb
couch_potato-1.6.4 spec/unit/validation_spec.rb
couch_potato-1.6.3 spec/unit/validation_spec.rb