File: processor_spec.rb

package info (click to toggle)
ruby-autoprefixer-rails 8.6.5%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324 kB
  • sloc: ruby: 637; sh: 14; makefile: 14
file content (14 lines) | stat: -rw-r--r-- 355 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require_relative 'spec_helper'

describe AutoprefixerRails::Processor do

  it 'parses config' do
    config    = "# Comment\n ie 11\n \nie 8 # sorry\n[test ]\nios 8"
    processor = AutoprefixerRails::Processor.new
    expect(processor.parse_config(config)).to eql({
      'defaults' => ['ie 11', 'ie 8'],
      'test'     => ['ios 8']
    })
  end

end