test/test_client.rb in prefab-cloud-ruby-1.8.4 vs test/test_client.rb in prefab-cloud-ruby-1.8.5

- old
+ new

@@ -425,9 +425,17 @@ assert client.is_ff?('flag_with_a_value') refute client.is_ff?('sample_int') refute client.is_ff?('does_not_exist') end + def test_with_datafile + datafile = "#{Dir.pwd}/test/fixtures/datafile.json" + client = new_client(datafile: datafile, prefab_datasources: :all) + + assert client.get('flag.list.environments') + assert_equal "hello world", client.get('my.test.string') + end + private def basic_value_config PrefabProto::Config.new( id: 123,