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.9.3 spec/support/read_only_field_matcher.rb
netsuite-0.9.2 spec/support/read_only_field_matcher.rb
netsuite-0.9.1 spec/support/read_only_field_matcher.rb
netsuite-0.9.0 spec/support/read_only_field_matcher.rb
netsuite-0.8.12 spec/support/read_only_field_matcher.rb
netsuite-0.8.11 spec/support/read_only_field_matcher.rb
netsuite-0.8.10 spec/support/read_only_field_matcher.rb
netsuite-0.8.9 spec/support/read_only_field_matcher.rb
netsuite-0.8.8 spec/support/read_only_field_matcher.rb
netsuite-0.8.7 spec/support/read_only_field_matcher.rb
netsuite-0.8.6 spec/support/read_only_field_matcher.rb
netsuite-0.8.5 spec/support/read_only_field_matcher.rb
netsuite-0.8.4 spec/support/read_only_field_matcher.rb
netsuite-0.8.3 spec/support/read_only_field_matcher.rb
netsuite-0.8.2 spec/support/read_only_field_matcher.rb
netsuite-0.8.1 spec/support/read_only_field_matcher.rb
netsuite-0.8.0 spec/support/read_only_field_matcher.rb
netsuite-0.7.9 spec/support/read_only_field_matcher.rb
netsuite-0.7.8 spec/support/read_only_field_matcher.rb
netsuite-0.7.7 spec/support/read_only_field_matcher.rb