Sha256: 2303390f7da19f4116166d9d9ba6ecfbfb48c814f0c77b5392080472d0e1ee79

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

require 'helper'

describe ProperProperties::Parsing::Normalizer do
  subject { ProperProperties::Parsing::Normalizer }

  it "normalizes by applying all rules" do
    content    = fixture("test.properties")
    normalized = fixture("test_normalized.properties")
    subject.normalize! content
    content.must_equal normalized
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
proper_properties-0.0.2 spec/proper_properties/parsing/normalizer_spec.rb
proper_properties-0.0.1 spec/proper_properties/parsing/normalizer_spec.rb