spec/csl/node_spec.rb in csl-1.3.0 vs spec/csl/node_spec.rb in csl-1.3.1

- old
+ new

@@ -205,15 +205,15 @@ expect(n1).not_to eq(n2) n1.children[0][:foo] = 'bar' expect(n1).to eq(n2) end + end end describe TextNode do - it { is_expected.not_to be nil } it { is_expected.not_to have_children } it { is_expected.to have_attributes(:attributes => {}) } describe '.new' do @@ -264,14 +264,9 @@ n1.text = 'foo' expect(n1).not_to eq(n2) n2.text = 'foo' expect(n1).to eq(n2) - end - - it 'text nodes are less than other nodes' do - expect(TextNode.new).to be < Node.new - expect(Node.new).not_to be < TextNode.new end end end end