Update specs to handle and test symbolic components

This commit is contained in:
Michael Miller 2019-02-17 16:39:23 -07:00
parent f6a4e6f558
commit fe083b0f74
8 changed files with 57 additions and 13 deletions

View file

@ -1510,7 +1510,7 @@ describe Spectator::RunnableExample do
group = Spectator::NestedExampleGroup.new("the parent", root, Spectator::ExampleHooks.empty, Spectator::ExampleConditions.empty)
root.children = [group.as(Spectator::ExampleComponent)]
example = new_runnable_example(group)
example.to_s.should contain(group.what)
example.to_s.should contain(group.what.to_s)
end
end
end