Sha256: 9aad390385950d48f1b96d9bcdbc39535b6f9648787f997725be5c4f006f526f

Contents?: true

Size: 348 Bytes

Versions: 2

Compression:

Stored size: 348 Bytes

Contents

require "spec_helper"

RSpec.describe Brightbox::UserCollaboration, "#attributes" do
  subject { described_class.new(fog_model) }

  let(:fog_model) do
    double("Fog::Model", id: "res-12345", attributes: { id: "res-12345"})
  end

  it "returns an IndifferentAccessHash" do
    expect(subject.attributes).to be_a(IndifferentAccessHash)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
brightbox-cli-5.0.0.rc2 spec/unit/brightbox/user_collaboration/attributes_spec.rb
brightbox-cli-5.0.0.rc1 spec/unit/brightbox/user_collaboration/attributes_spec.rb