Sha256: 1ac5d62600a1bb0f1e82e8fd7136a0c7290eb8efbd9f906906522854c3292fe8
Contents?: true
Size: 513 Bytes
Versions: 9
Compression:
Stored size: 513 Bytes
Contents
require 'spec_helper' require_relative '../../../../../lib/locomotive/steam/adapters/filesystem/yaml_loader.rb' require_relative '../../../../../lib/locomotive/steam/adapters/filesystem/yaml_loaders/site.rb' describe Locomotive::Steam::Adapters::Filesystem::YAMLLoaders::Site do let(:site_path) { default_fixture_site_path } let(:loader) { described_class.new(site_path) } describe '#load' do subject { loader.load(nil) } it { expect(subject.first[:name]).to eq 'Sample site' } end end
Version data entries
9 entries across 9 versions & 1 rubygems