Class wine.db.WineControllerSpec

7

tests

7

failures

0

ignored

0.541s

duration

0%

successful

Failed tests

Test that the delete action deletes an instance if it exists

groovy.lang.MissingMethodException: No signature of method: wine.db.WineController.delete() is applicable for argument types: (null) values: [null]
Possible solutions: every(), sleep(long), getAt(java.lang.String), split(groovy.lang.Closure), every(groovy.lang.Closure)
	at grails.artefact.gsp.TagLibraryInvoker$Trait$Helper.methodMissing(TagLibraryInvoker.groovy:92)
	at wine.db.WineControllerSpec.Test that the delete action deletes an instance if it exists(WineControllerSpec.groovy:130)

Test that the edit action returns the correct model

groovy.lang.MissingMethodException: No signature of method: wine.db.WineController.edit() is applicable for argument types: (null) values: [null]
Possible solutions: wait(), wait(long), wait(long, int), each(groovy.lang.Closure), getAt(java.lang.String), print(java.io.PrintWriter)
	at grails.artefact.gsp.TagLibraryInvoker$Trait$Helper.methodMissing(TagLibraryInvoker.groovy:92)
	at wine.db.WineControllerSpec.Test that the edit action returns the correct model(WineControllerSpec.groovy:80)

Test that the show action returns the correct model

Condition not satisfied:

false

TODO: Provide a populateValidParams() implementation for this generated test suite

	at wine.db.WineControllerSpec.populateValidParams(WineControllerSpec.groovy:15)
	at wine.db.WineControllerSpec.Test that the show action returns the correct model(WineControllerSpec.groovy:70)

Test the create action returns the correct model

groovy.lang.MissingMethodException: No signature of method: wine.db.WineController.create() is applicable for argument types: () values: []
Possible solutions: grep(), chain(java.util.Map), render(groovy.lang.Closure), render(java.lang.CharSequence), render(java.lang.Object), render(java.util.Map)
	at grails.artefact.gsp.TagLibraryInvoker$Trait$Helper.methodMissing(TagLibraryInvoker.groovy:92)
	at wine.db.WineControllerSpec.Test the create action returns the correct model(WineControllerSpec.groovy:30)

Test the index action returns the correct model

groovy.lang.MissingPropertyException: No such property: wineDatabase for class: wine.db.Wine
	at org.grails.datastore.gorm.GormStaticApi.propertyMissing(GormStaticApi.groovy:88)
	at org.grails.datastore.gorm.GormEntity$Trait$Helper.staticPropertyMissing(GormEntity.groovy:745)
	at wine.db.WineController.index(WineController.groovy:25)
	at wine.db.WineController.index_closure2(WineController.groovy)
	at groovy.lang.Closure.call(Closure.java:426)
	at groovy.lang.Closure.call(Closure.java:442)
	at grails.transaction.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:96)
	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
	at grails.transaction.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:93)
	at wine.db.WineControllerSpec.Test the index action returns the correct model(WineControllerSpec.groovy:21)

Test the save action correctly persists an instance

groovy.lang.MissingMethodException: No signature of method: wine.db.WineController.save() is applicable for argument types: (wine.db.Wine) values: [wine.db.Wine : (unsaved)]
Possible solutions: show(wine.db.Wine), wait(), show(), any(), wait(long), each(groovy.lang.Closure)
	at grails.artefact.gsp.TagLibraryInvoker$Trait$Helper.methodMissing(TagLibraryInvoker.groovy:92)
	at wine.db.WineControllerSpec.Test the save action correctly persists an instance(WineControllerSpec.groovy:43)

Test the update action performs an update on a valid domain instance

groovy.lang.MissingMethodException: No signature of method: wine.db.WineController.update() is applicable for argument types: (null) values: [null]
Possible solutions: putAt(java.lang.String, java.lang.Object), use([Ljava.lang.Object;), isCase(java.lang.Object), split(groovy.lang.Closure)
	at grails.artefact.gsp.TagLibraryInvoker$Trait$Helper.methodMissing(TagLibraryInvoker.groovy:92)
	at wine.db.WineControllerSpec.Test the update action performs an update on a valid domain instance(WineControllerSpec.groovy:98)

Tests

Test Duration Result
Test that the delete action deletes an instance if it exists 0.015s failed
Test that the edit action returns the correct model 0.006s failed
Test that the show action returns the correct model 0.012s failed
Test the create action returns the correct model 0.009s failed
Test the index action returns the correct model 0.471s failed
Test the save action correctly persists an instance 0.020s failed
Test the update action performs an update on a valid domain instance 0.008s failed