Sha256: c8b917fab37f489d95c3b510e541af828027ebce08a9b09700bb90110a9f960b

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

require "spec_helper"

RSpec.describe AltStruct do
  let(:astruct) { described_class.new }

  it "should behave like AltStruct::Behavior" do
    expect(astruct).to respond_to(*AltStruct::Behavior.instance_methods)
  end

  it "should have aliases for standard methods" do
    expect(astruct).to respond_to(:__object_id__)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
astruct-3.0.0 spec/lib/astruct_spec.rb