Sha256: 69a32117be0aae79573d4c50cf8aa3de8ef563715c0e2a80e89df9e6abe9a7c8
Contents?: true
Size: 443 Bytes
Versions: 6
Compression:
Stored size: 443 Bytes
Contents
require 'spec_helper' describe OData4::Properties::Guid do let(:guid) { SecureRandom.uuid } let(:guid2) { SecureRandom.uuid } let(:subject) { OData4::Properties::Guid.new('Stringy', guid) } it { expect(subject.type).to eq('Edm.Guid') } it { expect(subject.value).to eq(guid)} it { expect(lambda { subject.value = guid2 subject.value }.call).to eq(guid2) } it { expect(subject.url_value).to eq("guid'#{guid}'") } end
Version data entries
6 entries across 6 versions & 1 rubygems