Sha256: ca80d7ea07328facbc716ef4de339a12d4dc3d6e301a63bbdbe5a8dd7195bb2e
Contents?: true
Size: 404 Bytes
Versions: 11
Compression:
Stored size: 404 Bytes
Contents
require 'test_helper' module Apidae class ObjTest < ActiveSupport::TestCase test "populate empty booking desc" do objects_json = File.read('test/data/hot_fr_en.json') obj_data = JSON.parse(objects_json, symbolize_names: true).first obj = Apidae::Obj.new Apidae::Obj.populate_fields(obj, obj_data, [Apidae::LOCALE_FR]) assert_nil obj.booking_desc end end end
Version data entries
11 entries across 11 versions & 1 rubygems