Sha256: dbcad6ff92cb7b54b8156c5b8e04c0d1a1bd4154cb4a4f7a9f419c4dc918e7f1

Contents?: true

Size: 411 Bytes

Versions: 1

Compression:

Stored size: 411 Bytes

Contents

require 'spec_helper'

RSpec.describe Keepassx do

  describe '.new' do
    it 'should allow creation of database from scratch' do
      expect { |b| described_class.new('/tmp/test_db.kdb', &b) }.to yield_control
    end
  end

  describe '.open' do
    it 'should allow creation of database from scratch' do
      expect { |b| described_class.open('/tmp/test_db.kdb', &b) }.to yield_control
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
keepassx-1.1.0 spec/keepassx/keepassx_spec.rb