spec/processor_spec.rb in autoprefixer-rails-6.5.4 vs spec/processor_spec.rb in autoprefixer-rails-6.6.0
- old
+ new
@@ -1,11 +1,14 @@
require_relative 'spec_helper'
describe AutoprefixerRails::Processor do
it 'parses config' do
- config = "# Comment\n ie 11\n \nie 8 # sorry\n"
+ config = "# Comment\n ie 11\n \nie 8 # sorry\n[test ]\nios 8"
processor = AutoprefixerRails::Processor.new
- expect(processor.parse_config(config)).to eql(['ie 11', 'ie 8'])
+ expect(processor.parse_config(config)).to eql({
+ 'defaults' => ['ie 11', 'ie 8'],
+ 'test' => ['ios 8']
+ })
end
end