@@ -115,6 +115,7 @@ var _ = Describe("Supply", func() {
115115 mockCommand .EXPECT ().Execute (buildDir , gomock .Any (), gomock .Any (), "bower" , "-v" ).AnyTimes ().Return (fmt .Errorf ("error" ))
116116 mockCommand .EXPECT ().Execute (buildDir , gomock .Any (), gomock .Any (), "npm" , "install" , "-g" , gomock .Any ()).AnyTimes ().Return (nil )
117117 })
118+
118119 Context ("Not a published project and bower command necessary" , func () {
119120 BeforeEach (func () {
120121 mockCommand .EXPECT ().Execute (buildDir , gomock .Any (), gomock .Any (), "npm" , "-v" ).AnyTimes ()
@@ -125,6 +126,7 @@ var _ = Describe("Supply", func() {
125126 Expect (supplier .InstallBower ()).To (Succeed ())
126127 })
127128 })
129+
128130 Context ("It is a published project and bower command necessary" , func () {
129131 BeforeEach (func () {
130132 Expect (ioutil .WriteFile (filepath .Join (buildDir , "test_app.runtimeconfig.json" ), []byte ("any text" ), 0644 )).To (Succeed ())
@@ -134,6 +136,7 @@ var _ = Describe("Supply", func() {
134136 Expect (supplier .InstallBower ()).To (Succeed ())
135137 })
136138 })
139+
137140 Context ("NPM is NOT installed and bower command necessary" , func () {
138141 It ("Does not install bower" , func () {
139142 mockCommand .EXPECT ().Execute (buildDir , gomock .Any (), gomock .Any (), "npm" , "-v" ).AnyTimes ().Return (fmt .Errorf ("error" ))
0 commit comments