spec/core/filtering/hash_against_schema_validator_spec.rb [331:352]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                  }
                }
              ]
            }
          }

          context 'when advanced snippet contains array with \'A\'' do
            let(:advanced_snippet) {
              {
                :field_with_custom_type => %w[A B C]
              }
            }

            it_behaves_like 'hash is valid'
          end

          context 'when advanced snippet does not contain array with \'A\'' do
            let(:advanced_snippet) {
              {
                :field_with_custom_type => %w[B C]
              }
            }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



spec/core/filtering/hash_against_schema_validator_spec.rb [366:387]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                  }
                }
              ]
            }
          }

          context 'when advanced snippet contains array with \'A\'' do
            let(:advanced_snippet) {
              {
                :field_with_custom_type => %w[A B C]
              }
            }

            it_behaves_like 'hash is valid'
          end

          context 'when advanced snippet does not contain array with \'A\'' do
            let(:advanced_snippet) {
              {
                :field_with_custom_type => %w[B C]
              }
            }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



