mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Add subject specs
This commit is contained in:
parent
e60c287216
commit
8381c08b05
5 changed files with 228 additions and 13 deletions
13
spec/subject_spec.cr
Normal file
13
spec/subject_spec.cr
Normal file
|
@ -0,0 +1,13 @@
|
|||
require "./spec_helper"
|
||||
|
||||
class Base; end
|
||||
|
||||
Spectator.describe "Subject" do
|
||||
subject { Base.new }
|
||||
|
||||
context "nested" do
|
||||
it "inherits the parent explicit subject" do
|
||||
expect(subject).to be_a(Base)
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue