shard-spectator/spec/subject_spec.cr
2020-01-19 22:05:38 -07:00

13 lines
223 B
Crystal

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