Sha256: 58c3adee4bfd93763d23df3c47cd715aea92b94a9e9849861f0595935c56270d

Contents?: true

Size: 265 Bytes

Versions: 6

Compression:

Stored size: 265 Bytes

Contents

# coding: utf-8

describe 'README.md' do
  let(:readme) { File.read('README.md', encoding: 'UTF-8') }
  it 'has valid YAML in ```yaml blocks' do
    readme.scan /```yaml\n(.*)(?=^)\n```/ do |m|
      expect { YAML.load(m[0]) }.to_not raise_errors
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
i18n-tasks-0.8.5 spec/readme_spec.rb
i18n-tasks-0.8.4 spec/readme_spec.rb
i18n-tasks-0.8.3 spec/readme_spec.rb
i18n-tasks-0.8.2 spec/readme_spec.rb
i18n-tasks-0.8.1 spec/readme_spec.rb
i18n-tasks-0.8.0 spec/readme_spec.rb