Sha256: c68507d53f982cba15f1bebe89af676ae09b47a080e42c404e0f1da1d1f20d13

Contents?: true

Size: 401 Bytes

Versions: 2

Compression:

Stored size: 401 Bytes

Contents

require 'spec_helper'

module SvgHeartsYou
  describe Configuration do
    describe '#svg_path' do

      it 'has a default value of nil' do
        expect(Configuration.new.svg_paths).to eq([])
      end

      it 'can set the svg_path' do
        config = Configuration.new
        config.svg_paths << '/some/path';
        expect(config.svg_paths).to eq(['/some/path'])
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
svg_hearts_you-0.0.2 spec/module/configuration_spec.rb
svg_hearts_you-0.0.1 spec/module/configuration_spec.rb