Sha256: c0161134af170dc979195b0f06dce796df8536762e37eac9951011ca0d17f113

Contents?: true

Size: 509 Bytes

Versions: 1

Compression:

Stored size: 509 Bytes

Contents

require 'spec_helper'

module Vxod
  describe Db do
    let(:identity){ double('identity') }
    let(:user){ double('user') }

    # describe '.identity_create' do
    #   it 'create identity'
    #   it 'create user'
    # end

    describe '.identity' do
      it 'accessable' do
        Db.identity = identity
        expect(Db.identity).to eq identity
      end
    end

    describe '.user' do
      it 'accessable' do
        Db.user = user
        expect(Db.user).to eq user
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vxod-0.0.2 spec/lib/db_spec.rb