shard-spectator/spec/subject_spec.cr

14 lines
223 B
Crystal
Raw Normal View History

2020-01-20 05:05:38 +00:00
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