Sha256: 5713fd0423f910f728bcaf5bbf5976b4c5f0cba768b56045990f1c8971f21b00
Contents?: true
Size: 674 Bytes
Versions: 5
Compression:
Stored size: 674 Bytes
Contents
require './lib/marver.rb' describe Marver::TextObject do let(:to) { Marver::TextObject.new({ "type" => "solicit text", "language" => "LAT", "text" => "Lorem ipsum dolor sit amet." }) } it '#type - The string description of the text object (e.g. solicit text, preview text, etc.).' do expect(to.type).to eq "solicit text" end it '#language - A language code denoting which language the text object is written in.' do expect(to.language).to eq "LAT" end it '#text - The text of the text object.' do expect(to.text).to eq "Lorem ipsum dolor sit amet." end end
Version data entries
5 entries across 5 versions & 1 rubygems