Sha256: e68eeea3d3b4df0e0343470d1dd734076661ab703a421077f2f3382484118794

Contents?: true

Size: 496 Bytes

Versions: 17

Compression:

Stored size: 496 Bytes

Contents

require 'test/spec'

context "Empty context" do
  # should.not.raise
end

context "Outer context" do
  context "Inner context" do
    specify "is nested" do
    end
    specify "has multiple empty specifications" do
    end
  end
  context "Second Inner context" do
    context "Inmost context" do
      specify "works too!" do
      end
      specify "whoo!" do
      end
    end
    specify "is indented properly" do
    end
    specify "still runs in order of definition" do
    end
  end
end

Version data entries

17 entries across 17 versions & 5 rubygems

Version Path
jordi-xml_struct-0.1.3 test/vendor/test-spec/test/spec_nestedcontexts.rb
jordi-xml_struct-0.2.0 test/vendor/test-spec/test/spec_nestedcontexts.rb
jordi-xml_struct-0.2.1 test/vendor/test-spec/test/spec_nestedcontexts.rb
nullstyle-test-spec-0.4.1 test/spec_nestedcontexts.rb
relevance-test-spec-0.4.0.5 test/spec_nestedcontexts.rb
relevance-test-spec-0.4.1.1 test/spec_nestedcontexts.rb
relevance-test-spec-0.4.1.2 test/spec_nestedcontexts.rb
relevance-test-spec-0.4.1 test/spec_nestedcontexts.rb
mofo-0.1.1 vendor/testspec-0.2.0/test/spec_nestedcontexts.rb
mofo-0.1.2 vendor/testspec-0.3.0/test/spec_nestedcontexts.rb
mofo-0.2.1 vendor/testspec-0.3.0/test/spec_nestedcontexts.rb
mofo-0.2.2 vendor/testspec-0.3.0/test/spec_nestedcontexts.rb
mofo-0.2 vendor/testspec-0.3.0/test/spec_nestedcontexts.rb
test-spec-0.10.0 test/spec_nestedcontexts.rb
test-spec-0.3.0 test/spec_nestedcontexts.rb
test-spec-0.4.0 test/spec_nestedcontexts.rb
test-spec-0.9.0 test/spec_nestedcontexts.rb