Sha256: 8e1ba82972e8522145dd54d27bb31517e8ee4095e4d9dc0241b73c9216fef3a6
Contents?: true
Size: 547 Bytes
Versions: 7
Compression:
Stored size: 547 Bytes
Contents
require 'spec_helper' describe Arachni::Parser::Nodes::Text do subject { described_class.new( value ) } let(:value) { 'my text' } describe '#value' do it 'returns the given value' do expect(subject.value).to eq value end end describe '#text' do it 'returns the given value' do expect(subject.text).to eq value end end describe '#to_html' do it 'returns the given value' do expect(subject.to_html).to eq "my text\n" end end end
Version data entries
7 entries across 7 versions & 1 rubygems