spec/config_spec.rb in coffeelint-1.9.1 vs spec/config_spec.rb in coffeelint-1.10.0.pre.patch.1
- old
+ new
@@ -49,10 +49,10 @@
expect(Config.send(:config_files_in_path, '')).to eq(result)
expect(Config.send(:config_files_in_path, [])).to eq(result)
expect(Config.send(:config_files_in_path, [''])).to eq(result)
end
- it 'builds usefull path segements' do
+ it 'builds useful path segements' do
result = %w(config/coffeelint.json config/.coffeelint.json)
expect(Config.send(:config_files_in_path, 'config')).to eq(result)
expect(Config.send(:config_files_in_path, ['config'])).to eq(result)
expect(Config.send(:config_files_in_path, ['coffeescript', 'config'])).
to eq(%w(coffeescript/config/coffeelint.json coffeescript/config/.coffeelint.json))