Created
January 18, 2016 09:46
-
-
Save fedotxxl/5ada0a9a9b1e8e3b75da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.devadmin.util.metrics | |
import org.springframework.context.annotation.Configuration | |
import org.springframework.context.annotation.ImportResource | |
import org.springframework.test.context.ContextConfiguration | |
import org.springframework.test.context.transaction.TransactionConfiguration | |
import org.springframework.transaction.annotation.Transactional | |
import spock.lang.Specification | |
@Configuration | |
@Transactional | |
@TransactionConfiguration(transactionManager = "transactionManager", defaultRollback = true) | |
@ImportResource(["classpath:applicationContext.test.xml"]) | |
@ContextConfiguration(classes = AbstractIntegrationSpec) | |
abstract class AbstractIntegrationSpec extends Specification { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment