Sha256: c732cbd5a2d6cf913550eb9703b25765a1c9c872367667138b90eb8153e92858

Contents?: true

Size: 465 Bytes

Versions: 6

Compression:

Stored size: 465 Bytes

Contents

require 'rspec'
require 'totrello_config'

describe 'defaults' do

  it 'should produce a hash of the defaulted settings file' do


    sample_config = TotrelloConfig.new("#{Dir.pwd}/test/test_data/noymlfile")
    test_settings =     {
        :project_name => 'noymlfile',
        :board_name   => 'noymlfile',
        :default_list => 'To Do',
        :excludes     => Array(nil)
    }
    expect(sample_config.build_hash).to include(test_settings)




  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
totrello-0.3.04 test/totrello_config_spec.rb
totrello-0.3.03 test/totrello_config_spec.rb
totrello-0.3.02 test/totrello_config_spec.rb
totrello-0.3.01 test/totrello_config_spec.rb
totrello-0.3.0 test/totrello_config_spec.rb
totrello-0.2.03 test/totrello_config_spec.rb