Sha256: 86650acc2646034d43ded4ebd74bfdfc4152755cda0b648ff9f559377aeec501

Contents?: true

Size: 237 Bytes

Versions: 32

Compression:

Stored size: 237 Bytes

Contents

shared_examples "entity_attributes" do |attrs|
  attrs.each do |attr|
    it { is_expected.to have_attr_accessor(attr) }
  end

  it "expect to cover all attributes" do
    expect(subject.attributes.keys).to match_array(attrs)
  end
end

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
myfinance-1.8.2 spec/support/shared_examples/entity_attributes.rb
myfinance-1.8.1 spec/support/shared_examples/entity_attributes.rb
myfinance-1.8.0 spec/support/shared_examples/entity_attributes.rb
rexpense-2.1.0 spec/support/shared_examples/entity_attributes.rb
myfinance-1.7.0 spec/support/shared_examples/entity_attributes.rb
myfinance-1.6.6 spec/support/shared_examples/entity_attributes.rb
myfinance-1.6.5 spec/support/shared_examples/entity_attributes.rb
myfinance-1.6.4 spec/support/shared_examples/entity_attributes.rb
myfinance-1.6.3 spec/support/shared_examples/entity_attributes.rb
rexpense-2.0.0 spec/support/shared_examples/entity_attributes.rb
rexpense-1.0.0 spec/support/shared_examples/entity_attributes.rb
myfinance-1.6.1 spec/support/shared_examples/entity_attributes.rb
myfinance-1.6.0 spec/support/shared_examples/entity_attributes.rb
myfinance-1.5.0 spec/support/shared_examples/entity_attributes.rb
myfinance-1.4.1 spec/support/shared_examples/entity_attributes.rb
myfinance-1.4.0 spec/support/shared_examples/entity_attributes.rb
myfinance-1.3.1 spec/support/shared_examples/entity_attributes.rb
myfinance-1.3.0 spec/support/shared_examples/entity_attributes.rb
myfinance-1.2.1 spec/support/shared_examples/entity_attributes.rb
myfinance-1.2.0 spec/support/shared_examples/entity_attributes.rb