Sha256: 653e1fa4b2bc0df253a1e544a75f14fe794cb34aaae237b1b0a186581c5bbdb5

Contents?: true

Size: 633 Bytes

Versions: 1

Compression:

Stored size: 633 Bytes

Contents

require 'spec_helper'

describe SqedConfig do

  specify '.metadata' do
    expect(SqedConfig.metadata.keys).to contain_exactly(:boundary_colors, :extraction_patterns, :section_parsers, :layout_section_types, :layouts)
  end

  specify 'layouts' do
    expect(SqedConfig.metadata[:layouts].keys).to contain_exactly(:cross, :horizontal_offset_cross, :horizontal_split, :lep_stage, :lep_stage2, :right_t, :seven_slot, :vertical_offset_cross, :vertical_split)
  end

  specify 'layouts are in patterns' do
    expect(SqedConfig.metadata[:layouts].keys + [:stage]).to contain_exactly(*SqedConfig::EXTRACTION_PATTERNS.keys) 
  end



end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sqed-0.6.0 spec/lib/sqed_config_spec.rb