mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix copy/paste fail docs
This commit is contained in:
parent
5ec7e25d57
commit
f465df48d4
1 changed files with 2 additions and 2 deletions
|
@ -471,8 +471,8 @@ module Spectator
|
|||
# Examples:
|
||||
# ```
|
||||
# expect("foobar").to contain_elements(["foo", "bar"])
|
||||
# expect("foobar").to contain(['a', 'b'])
|
||||
# expect(%i[a b c]).to contain(%i[a b])
|
||||
# expect("foobar").to contain_elements(['a', 'b'])
|
||||
# expect(%i[a b c]).to contain_elements(%i[a b])
|
||||
# ```
|
||||
macro contain_elements(expected)
|
||||
%test_value = ::Spectator::TestValue.new({{expected}}, {{expected.stringify}})
|
||||
|
|
Loading…
Reference in a new issue