Sha256: d5b88ce722754f24b633ea3681247dc6d8d41f0a3115e479215bd26994182503
Contents?: true
Size: 528 Bytes
Versions: 88
Compression:
Stored size: 528 Bytes
Contents
# -*- encoding: utf-8 -*- require 'test_helper' require 'hexapdf/document' require 'hexapdf/type/actions/launch' describe HexaPDF::Type::Actions::Launch do before do @doc = HexaPDF::Document.new @action = HexaPDF::Type::Actions::Launch.new({}, document: @doc) end describe "validation" do it "needs a launch target" do refute(@action.validate) @action.value = {F: {}} assert(@action.validate) @action.value = {Win: {F: "test.exe"}} assert(@action.validate) end end end
Version data entries
88 entries across 88 versions & 1 rubygems