One last tweak before branching
This commit is contained in:
parent
cbd776a54a
commit
4f95e47a28
|
@ -24,9 +24,7 @@ describe "Body nodes" do
|
||||||
})
|
})
|
||||||
checker = CeleryScript::Checker.new(tree, test_corpus)
|
checker = CeleryScript::Checker.new(tree, test_corpus)
|
||||||
expect(checker.valid?).to eq(false)
|
expect(checker.valid?).to eq(false)
|
||||||
expect(checker.error.message).to include(
|
expect(checker.error.message).to include("node contains 'wrong' node")
|
||||||
"node contains 'wrong' node"
|
|
||||||
)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'disallows leaves in the body field of a node' do
|
it 'disallows leaves in the body field of a node' do
|
||||||
|
|
Loading…
Reference in a new issue