Sha256: 3cd45f8a729ec70924249f2d1a637b544e3c5879130c6a3daa823f1120bfd6cb
Contents?: true
Size: 488 Bytes
Versions: 1
Compression:
Stored size: 488 Bytes
Contents
require 'spec_helper' module RedpenRuby describe RedpenRuby do it 'include "ValidationError" should be false' do message = FormatMessage.new("sampledoc-en.md:2: ValidationError[SentenceLength], 文長が最大値 \"215\" を超えています", "1.0.1") result = message.valid? expect(result).to be false end it 'redpen version is correct' do message = FormatMessage.new('aaa', '1.0.1') expect(message.version).to eq '1.0.1' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redpen_ruby-0.1 | spec/redpen_ruby/format_message_spec.rb |