Sha256: 330a8c5fdd2557cf809913eb68f6a52de7555d65a2dea39909f7151a8bb16206

Contents?: true

Size: 163 Bytes

Versions: 9

Compression:

Stored size: 163 Bytes

Contents

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

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

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
netsuite-0.9.3 spec/support/search_only_field_matcher.rb
netsuite-0.9.2 spec/support/search_only_field_matcher.rb
netsuite-0.9.1 spec/support/search_only_field_matcher.rb
netsuite-0.9.0 spec/support/search_only_field_matcher.rb
netsuite-0.8.12 spec/support/search_only_field_matcher.rb
netsuite-0.8.11 spec/support/search_only_field_matcher.rb
netsuite-0.8.10 spec/support/search_only_field_matcher.rb
netsuite-0.8.9 spec/support/search_only_field_matcher.rb
netsuite-0.8.8 spec/support/search_only_field_matcher.rb