Sha256: f39f2ee9930775e2ff9bef9c0b4047febb7de60def8f8745b1c277ae33155f98

Contents?: true

Size: 351 Bytes

Versions: 2

Compression:

Stored size: 351 Bytes

Contents

require "spec_helper"

RSpec.describe Brightbox::CollaboratingAccount, "#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/collaborating_account/attributes_spec.rb
brightbox-cli-5.0.0.rc1 spec/unit/brightbox/collaborating_account/attributes_spec.rb