Sha256: e119a449ec7405d91e23155cbaefe387ba725e56659d2a1be4ac1a60e52ce80f

Contents?: true

Size: 159 Bytes

Versions: 60

Compression:

Stored size: 159 Bytes

Contents

RSpec::Matchers.define :have_read_only_field do |attribute|

  match do |model|
    expect(model.read_only_fields.include?(attribute)).to be_truthy
  end

end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
netsuite-0.5.6 spec/support/read_only_field_matcher.rb
netsuite-0.5.5 spec/support/read_only_field_matcher.rb
netsuite-0.5.4 spec/support/read_only_field_matcher.rb
netsuite-0.5.3 spec/support/read_only_field_matcher.rb
netsuite-0.5.2 spec/support/read_only_field_matcher.rb
netsuite-0.5.1 spec/support/read_only_field_matcher.rb
netsuite-0.5.0 spec/support/read_only_field_matcher.rb
netsuite-0.4.9 spec/support/read_only_field_matcher.rb
netsuite-0.4.8 spec/support/read_only_field_matcher.rb
netsuite-0.4.7 spec/support/read_only_field_matcher.rb
netsuite-0.4.6 spec/support/read_only_field_matcher.rb
netsuite-0.4.5 spec/support/read_only_field_matcher.rb
netsuite-0.4.4 spec/support/read_only_field_matcher.rb
netsuite-0.4.3 spec/support/read_only_field_matcher.rb
netsuite-0.4.2 spec/support/read_only_field_matcher.rb
netsuite-0.4.1 spec/support/read_only_field_matcher.rb
netsuite-0.4.0 spec/support/read_only_field_matcher.rb
netsuite-0.3.3 spec/support/read_only_field_matcher.rb
netsuite-0.3.2 spec/support/read_only_field_matcher.rb
netsuite-0.3.1 spec/support/read_only_field_matcher.rb