Sha256: aa3382c5423109ba3be35c38144d99810effbe4a6773e232185440a4321fc9c3
Contents?: true
Size: 682 Bytes
Versions: 1
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 15 # Number of non-YAML files in this folder end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
frontman-ssg-0.0.4 | spec/frontman/bootstrapper_spec.rb |