Sha256: 95c044eb030ac2841ce6657097e400ccf635a9d03ab495d352421477c688ebab

Contents?: true

Size: 284 Bytes

Versions: 1

Compression:

Stored size: 284 Bytes

Contents

FactoryBot.define do

  factory :e_way_client_province, class: "EWayClient::Province" do
    sequence(:province_id) {|n| n}
    sequence(:province_name_eng) {|n| "Eng province #{n}"}
    sequence(:province_name_viet) {|n| "Viet province #{n}"}
    response_code { "0000" }
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
e_way_client-2.1.0 lib/e_way_client/factories/province.rb