Sha256: d2dabe37a3e8685b32fca21548f24d9dec4d59d69f6342403ba16edc91902ea9

Contents?: true

Size: 625 Bytes

Versions: 6

Compression:

Stored size: 625 Bytes

Contents

require 'spec_helper'

describe NetSuite::Records::Translation do
  let(:translation) { NetSuite::Records::Translation.new }

  it 'has dynamic fields' do
    [
      :description,
      :display_name,
      :featured_description,
      :language,
      :locale,
      :locale_description,
      :name,
      :no_price_message,
      :out_of_stock_message,
      :page_title,
      :replace_all,
      :sales_description,
      :specials_description,
      :store_description,
      :store_detailed_description,
      :store_display_name
    ].each do |field|
      expect(translation).to have_field(field)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
netsuite-0.9.3 spec/netsuite/records/translation_spec.rb
netsuite-0.9.2 spec/netsuite/records/translation_spec.rb
netsuite-0.9.1 spec/netsuite/records/translation_spec.rb
netsuite-0.9.0 spec/netsuite/records/translation_spec.rb
netsuite-0.8.12 spec/netsuite/records/translation_spec.rb
netsuite-0.8.11 spec/netsuite/records/translation_spec.rb