Sha256: 428a991bb3877250e87e3e11daf64382ea5f551fe2dfaaeaebcd9ec150396b96

Contents?: true

Size: 420 Bytes

Versions: 8

Compression:

Stored size: 420 Bytes

Contents

# frozen_string_literal: true
require 'gir_ffi_test_helper'

describe 'The generated Secret module' do
  describe 'Secret::Schema' do
    it 'has a working constructor' do
      begin
        GirFFI.setup :Secret
      rescue
        skip 'No GIR data for Secret available'
      end
      instance = Secret::Schema.new('foo', :none, 'bar' => :string)
      instance.must_be_instance_of Secret::Schema
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gir_ffi-0.11.1 test/integration/generated_secret_test.rb
gir_ffi-0.10.2 test/integration/generated_secret_test.rb
gir_ffi-0.10.1 test/integration/generated_secret_test.rb
gir_ffi-0.10.0 test/integration/generated_secret_test.rb
gir_ffi-0.10.0.pre1 test/integration/generated_secret_test.rb
gir_ffi-0.9.5 test/integration/generated_secret_test.rb
gir_ffi-0.9.4 test/integration/generated_secret_test.rb
gir_ffi-0.9.3 test/integration/generated_secret_test.rb