Sha256: 9691648daed0befd983b6038adb58d35ca5e63341d1e1eafd0491b32e02c06f0

Contents?: true

Size: 435 Bytes

Versions: 4

Compression:

Stored size: 435 Bytes

Contents

require 'spec_helper'

describe Sqed::Result do
  let(:r) {Sqed::Result.new}

  context "attributes are derived from SqedConfig::LAYOUT_SECTION_TYPES" do
    SqedConfig::LAYOUT_SECTION_TYPES.each do |type|
      specify "##{type}" do 
        expect(r.respond_to?(type.to_sym)).to be_truthy 
      end

      specify "##{type}_image" do 
        expect(r.respond_to?("#{type}_image".to_sym)).to be_truthy 
      end
    end
  end
end 

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sqed-0.0.4 spec/lib/sqed/result_spec.rb
sqed-0.0.3 spec/lib/sqed/result_spec.rb
sqed-0.0.2 spec/lib/sqed/result_spec.rb
sqed-0.0.1 spec/lib/sqed/result_spec.rb