Sha256: f51ca6a097724b80ff7c82a5e750c73b8aafb4a20d43a91f0c642865caa6ca77

Contents?: true

Size: 504 Bytes

Versions: 5

Compression:

Stored size: 504 Bytes

Contents

require 'spec_helper'

describe Hermitage::Defaults do
  describe '#to_hash' do
    it "returns hash with symbolized constants' names as keys" do
      Hermitage::Defaults.to_hash().should == {
        original: 'file.url',
        thumbnail: 'file.url(:thumbnail)',
        title: nil,
        list_tag: :ul,
        item_tag: :li,
        list_class: 'thumbnails',
        item_class: 'span4',
        link_class: 'thumbnail',
        image_class: nil,
        each_slice: nil
      }
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hermitage-0.0.7 spec/lib/hermitage/defaults_spec.rb
hermitage-0.0.6 spec/lib/hermitage/defaults_spec.rb
hermitage-0.0.5.2 spec/lib/hermitage/defaults_spec.rb
hermitage-0.0.4.1 spec/lib/hermitage/defaults_spec.rb
hermitage-0.0.3 spec/lib/hermitage/defaults_spec.rb