mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Add NullExampleFilter
This commit is contained in:
parent
a3c1892465
commit
481319c097
3 changed files with 21 additions and 0 deletions
11
spec/null_example_filter_spec.cr
Normal file
11
spec/null_example_filter_spec.cr
Normal file
|
@ -0,0 +1,11 @@
|
|||
require "./spec_helper"
|
||||
|
||||
describe Spectator::NullExampleFilter do
|
||||
describe "#includes?" do
|
||||
it "returns true" do
|
||||
example = PassingExample.create
|
||||
filter = Spectator::NullExampleFilter.new
|
||||
filter.includes?(example).should be_true
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue