Sha256: 712d1be77134ee3b47c66d6072853bb562c586c1413b3fc36cb38f4ff469a2ed

Contents?: true

Size: 378 Bytes

Versions: 3

Compression:

Stored size: 378 Bytes

Contents

require_relative "spec_helper"
require_relative "../lib/conglomerate"
require_relative "../lib/conglomerate/ext/datum_type"

describe Conglomerate::Datum do
  context "optional attributes" do
    specify "type" do
      datum = Conglomerate::Datum.new(:name => "name")
      expect(datum).to respond_to(:"type=")
      expect { datum.type = 3 }.to raise_error
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
conglomerate-0.16.0 spec/datum_type_ext_spec.rb
conglomerate-0.15.0 spec/datum_type_ext_spec.rb
conglomerate-0.14.0 spec/datum_type_ext_spec.rb