Class wine.db.WineKeywordControllerSpec

7

tests

6

failures

0

ignored

0.552s

duration

14%

successful

Failed tests

Test that the delete action deletes an instance if it exists

Condition not satisfied:

false

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

	at wine.db.WineKeywordControllerSpec.populateValidParams(WineKeywordControllerSpec.groovy:15)
	at wine.db.WineKeywordControllerSpec.Test that the delete action deletes an instance if it exists(WineKeywordControllerSpec.groovy:138)

Test that the edit action returns the correct model

Condition not satisfied:

false

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

	at wine.db.WineKeywordControllerSpec.populateValidParams(WineKeywordControllerSpec.groovy:15)
	at wine.db.WineKeywordControllerSpec.Test that the edit action returns the correct model(WineKeywordControllerSpec.groovy:86)

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.WineKeywordControllerSpec.populateValidParams(WineKeywordControllerSpec.groovy:15)
	at wine.db.WineKeywordControllerSpec.Test that the show action returns the correct model(WineKeywordControllerSpec.groovy:70)

Test the index action returns the correct model

groovy.lang.MissingPropertyException: No such property: wineDatabase for class: wine.db.WineKeyword
	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.WineKeywordController.index(WineKeywordController.groovy:26)
	at wine.db.WineKeywordController.index_closure8(WineKeywordController.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.WineKeywordControllerSpec.Test the index action returns the correct model(WineKeywordControllerSpec.groovy:21)

Test the save action correctly persists an instance

Condition not satisfied:

false

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

	at wine.db.WineKeywordControllerSpec.populateValidParams(WineKeywordControllerSpec.groovy:15)
	at wine.db.WineKeywordControllerSpec.Test the save action correctly persists an instance(WineKeywordControllerSpec.groovy:51)

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

Condition not satisfied:

false

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

	at wine.db.WineKeywordControllerSpec.populateValidParams(WineKeywordControllerSpec.groovy:15)
	at wine.db.WineKeywordControllerSpec.Test the update action performs an update on a valid domain instance(WineKeywordControllerSpec.groovy:116)

Tests

Test Duration Result
Test that the delete action deletes an instance if it exists 0.007s failed
Test that the edit action returns the correct model 0.006s failed
Test that the show action returns the correct model 0.006s failed
Test the create action returns the correct model 0.020s passed
Test the index action returns the correct model 0.454s failed
Test the save action correctly persists an instance 0.019s failed
Test the update action performs an update on a valid domain instance 0.040s failed