Sha256: ccaf344556c7bd1efe9f8e1db0c6d8b69205135d25fcb61ea1c3e2f69a52bbf9

Contents?: true

Size: 440 Bytes

Versions: 4

Compression:

Stored size: 440 Bytes

Contents

# typed: false
# frozen_string_literal: true

require './spec/spec_setup'
require 'lib/frontman/data_store_file'
require 'lib/frontman/data_store'

describe Frontman::DataStoreFile do
  subject do
    data = Frontman::DataStore.new("#{__dir__}/mocks")
    data.info
  end

  describe '#to_ostruct' do
    it 'does not convert to custom struct' do
      expect(subject.to_ostruct.is_a?(Frontman::DataStoreFile)).to eq true
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
frontman-ssg-0.1.1 spec/frontman/data_store_file_spec.rb
frontman-ssg-0.1.0 spec/frontman/data_store_file_spec.rb
frontman-ssg-0.0.4 spec/frontman/data_store_file_spec.rb
frontman-ssg-0.0.3 spec/frontman/data_store_file_spec.rb