Sha256: 69733d5987e671d26426ce92cd97dd2433d603a1a01e28dad55e0513050addf7
Contents?: true
Size: 512 Bytes
Versions: 4
Compression:
Stored size: 512 Bytes
Contents
Fabricator(:validator, from: Omnitest::Skeptic::Validator) do initialize_with do callback = @_transient_attributes.delete :callback desc = @_transient_attributes.delete :description scope = @_transient_attributes @_klass.new(desc, scope, &callback) end # Hash based initialization transient description: 'Sample validator' transient suite: LANGUAGES.sample transient scenario: SCENARIO_NAMES.sample transient callback: Proc.new { Proc.new { |_scenario| } } # rubocop:disable Proc end
Version data entries
4 entries across 4 versions & 2 rubygems