Add subject specs

This commit is contained in:
Michael Miller 2020-01-19 22:05:38 -07:00
parent e60c287216
commit 8381c08b05
5 changed files with 228 additions and 13 deletions

13
spec/subject_spec.cr Normal file
View 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