Sha256: c67649f9c0b201dac66368fbd47094eebc4cb9b39ba41e606af099488b8de6cc
Contents?: true
Size: 271 Bytes
Versions: 2
Compression:
Stored size: 271 Bytes
Contents
# coding: utf-8 RSpec.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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
i18n-tasks-0.8.7 | spec/readme_spec.rb |
i18n-tasks-0.8.6 | spec/readme_spec.rb |