Sha256: 25b876d8223e975056ad41af540caa011a98e817ee36eaefe9bc2d3985410f94

Contents?: true

Size: 405 Bytes

Versions: 1

Compression:

Stored size: 405 Bytes

Contents

require 'spec_helper'

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.0.0 spec/keepassx_spec.rb