mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Update specs to handle and test symbolic components
This commit is contained in:
parent
f6a4e6f558
commit
fe083b0f74
8 changed files with 57 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue