Sha256: ae7f0137501bcb1e1cd1ece9a77b84e380eefd1973d0a408524756c244051972

Contents?: true

Size: 493 Bytes

Versions: 1

Compression:

Stored size: 493 Bytes

Contents

require 'spec_helper'

describe "Valid file" do
  it_behaves_like "a valid locale file", 'spec/fixtures/en.yml'
end

describe "Invalid files" do
  it { 'spec/fixtures/unparseable.yml'.should_not be_parseable }
  it { 'spec/fixtures/invalid_pluralization_keys.yml'.should_not have_valid_pluralization_keys }
  it { 'spec/fixtures/multiple_top_levels.yml'.should_not have_one_top_level_namespace }
  it { 'spec/fixtures/multiple_top_levels.yml'.should_not be_named_like_top_level_namespace }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
i18n-spec-0.0.4 spec/lib/i18n-spec/matchers_spec.rb