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

@ -9,6 +9,10 @@ class ConcretePendingExample < Spectator::PendingExample
::Spectator::Source.new(__FILE__, __LINE__)
end
def symbolic?
false
end
def instance
nil
end
@ -112,7 +116,7 @@ describe Spectator::PendingExample do
it "contains the group's #what" do
group = new_nested_group
example = new_pending_example(group)
example.to_s.should contain(group.what)
example.to_s.should contain(group.what.to_s)
end
end
end