Sha256: b5b40e938d051821d897f62eaa008f603cedc58e560ba400aab9e861248bf15e
Contents?: true
Size: 682 Bytes
Versions: 2
Compression:
Stored size: 682 Bytes
Contents
# typed: false # frozen_string_literal: true require './spec/spec_setup' require 'frontman/app' require 'frontman/bootstrapper' require 'frontman/config' describe Frontman::Bootstrapper do context 'helpers' do it 'should find all helpers in a given folder' do result = Frontman::Bootstrapper.find_helpers_in( 'spec/frontman/mocks/helpers/' ) expect(result.size).to eq 3 end end context 'resources' do it 'should find all resources in a given folder' do resources = Frontman::Bootstrapper.resources_from_dir('spec/frontman/mocks') expect(resources.size).to eq 14 # Number of non-YAML files in this folder end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
frontman-ssg-0.0.3 | spec/frontman/bootstrapper_spec.rb |
frontman-ssg-0.0.2 | spec/frontman/bootstrapper_spec.rb |