 
         expect(fs.readFileSync(controllersStartHTMLPath).toString()).toMatch(/Good! You made it all/)
 
+
   describe 'examples', ->
 
     beforeEach ->

  afterEach ->
    @testHelper.cleanUp()

  describe 'tutorials', ->

    beforeEach ->

        expect( cmd.stdout ).toMatch(/Error: No such example neverGonnaExistExample, see 'steroids generate' for help./)


    describe "cordova examples", ->

      it "generates accelerometer example", ->
        cmd = @testHelper.runInProjectSync "generate",
          args: ["example", "accelerometer"]

        runs ->
          expect( cmd.stdout ).toMatch("www/accelerometerExample.html")


    describe "steroids examples", ->

      it "generates animation example", ->
        cmd = @testHelper.runInProjectSync "generate",
          args: ["example", "animation"]

        runs ->
          expect( cmd.stdout ).toMatch("app/layouts/animationExample.html")

      it "generates drawer example", ->
        cmd = @testHelper.runInProjectSync "generate",
          args: ["example", "drawer"]

        runs ->
          expect( cmd.stdout ).toMatch("app/layouts/drawerExample.html")

      it "generates layerStack example", ->
        cmd = @testHelper.runInProjectSync "generate",
          args: ["example", "layerStack"]

        runs ->
          expect( cmd.stdout ).toMatch("app/layouts/layerStackExample.html")

      it "generates drawer example", ->
        cmd = @testHelper.runInProjectSync "generate",
          args: ["example", "drawer"]

        runs ->
          expect( cmd.stdout ).toMatch("app/layouts/drawerExample.html")

      it "generates modal example", ->
        cmd = @testHelper.runInProjectSync "generate",
          args: ["example", "modal"]

        runs ->
          expect( cmd.stdout ).toMatch("app/layouts/modalExample.html")

      it "generates navigationBar example", ->
        cmd = @testHelper.runInProjectSync "generate",
          args: ["example", "navigationBar"]

        runs ->
          expect( cmd.stdout ).toMatch("app/layouts/navigationBarExample.html")

      it "generates preload example", ->
        cmd = @testHelper.runInProjectSync "generate",
          args: ["example", "preload"]

        runs ->
          expect( cmd.stdout ).toMatch("app/layouts/preloadExample.html")


  describe 'usage', ->
