Sha256: 9792d0369e0a38086502c3733c6569d0d094377a332e1d3d5101e09eb67235a5
Contents?: true
Size: 655 Bytes
Versions: 1
Compression:
Stored size: 655 Bytes
Contents
describe "in rspec, it-blocks within a describe-block" do before do class Person end end it "can see classes defined in before blocks" do Person.new end it "can see classes defined within the it-block itself" do class Address end Address.new end it "can see classes defined in other it-blocks" do Address.new end end describe "it-blocks within another describe block, even in other files" do it "can see classes defined in a before block of another describe block" do Person.new end it "can see classes defined in an it block in another describe block" do Address.new end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspec-cleanup-1.0.0 | spec/without_rspec_cleanup_spec.rb |