Sha256: 2a4f5dc82288907a7273f1acedaa025e4c948117751cd5052fedd262c6c3f8ac
Contents?: true
Size: 417 Bytes
Versions: 7
Compression:
Stored size: 417 Bytes
Contents
require 'spec_helper' describe Arachni::Parser::Nodes::Element do subject { described_class.new( name ) } let(:name) { 'dIv' } describe '#name' do it 'returns the given value' do expect(subject.name).to eq :div end end describe '#to_html' do it 'returns the given value' do expect(subject.to_html).to eq "<div>\n</div>\n" end end end
Version data entries
7 entries across 7 versions & 1 rubygems