       expect(@suite.name).to.equal 'Running tests from within nested describe blocks'
       expect(@test.test_case.shortName).to.equal "adds dashes to generate tinytest group paths"
       expect(@test.test_case.name).to.equal "#{@suite.name} - when nesting - #{@test.test_case.shortName}"
-      expect(@suite.shared).to.equal sharedData
+      expect(ranBefore).to.be.true
 
     it 'runs nested in both environments', ->
 


describe 'Running tests from within nested describe blocks', ->

  sharedData = {}

  beforeEach -> @suite.shared = sharedData

  it 'runs the first-level tests correctly', ->

    expect(@suite.name).to.equal 'Running tests from within nested describe blocks'
    expect(@test.test_case.shortName).to.equal "runs the first-level tests correctly"
    expect(@test.test_case.name).to.equal "#{@suite.name} - #{@test.test_case.shortName}"
    expect(@suite.shared).to.equal sharedData

  describe 'when nesting', ->


      expect(@suite.name).to.equal 'Running tests from within nested describe blocks'
      expect(@test.test_case.shortName).to.equal "it shows up in the right order"
      expect(@test.test_case.name).to.equal "#{@suite.name} - multiple nested on same level - #{@test.test_case.shortName}"
      expect(ranBefore).to.be.true

  it.server 'also works after describe blocks', ->

    expect(@suite.name).to.equal 'Running tests from within nested describe blocks'
    expect(@test.test_case.shortName).to.equal "also works after describe blocks"
    expect(@test.test_case.name).to.equal "#{@suite.name} - #{@test.test_case.shortName}"
    expect(ranBefore).to.be.true

# --------------------------------------------------------------------------

