Sha256: eca933757b9b09bfeecb7dd05f9457422e76d9717bb563a9d046f549fa3c6cb6

Contents?: true

Size: 401 Bytes

Versions: 15

Compression:

Stored size: 401 Bytes

Contents

require 'spec_helper'

describe Ardm::Property::String do
  let(:name)          { :name }
  let(:type)          { described_class }
  let(:options)       { {} }
  let(:value)         { 'value' }
  let(:other_value)   { 'return value' }
  let(:invalid_value) { 1 }
  let(:model) { Blog::Article }
  let(:property) { type.new(model, name, options) }

  it_should_behave_like 'A semipublic Property'
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ardm-0.4.0.ar427 spec/semipublic/property/string_spec.rb
ardm-0.4.0 spec/semipublic/property/string_spec.rb
ardm-0.3.2 spec/semipublic/property/string_spec.rb
ardm-0.3.1 spec/semipublic/property/string_spec.rb
ardm-0.3.0 spec/semipublic/property/string_spec.rb
ardm-0.2.7 spec/semipublic/property/string_spec.rb
ardm-0.2.6 spec/semipublic/property/string_spec.rb
ardm-0.2.5 spec/semipublic/property/string_spec.rb
ardm-0.2.4 spec/semipublic/property/string_spec.rb
ardm-0.2.3 spec/semipublic/property/string_spec.rb
ardm-0.2.2 spec/semipublic/property/string_spec.rb
ardm-0.2.1 spec/semipublic/property/string_spec.rb
ardm-0.2.0 spec/semipublic/property/string_spec.rb
ardm-0.1.0 spec/semipublic/property/string_spec.rb
ardm-0.0.1 spec/semipublic/property/string_spec.rb