Permalink
Browse files

Make IntegrationTests match the blog post

  • Loading branch information...
cbeams committed Feb 11, 2011
1 parent 00a6e90 commit 3d2b25dae7e649716ab8473f45a11cc886f614ec
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/test/com/bank/config/xml/IntegrationTests.java
@@ -29,9 +29,9 @@
public class IntegrationTests {
@Test
- public void transfer() throws InsufficientFundsException {
+ public void transferTenDollars() throws InsufficientFundsException {
GenericXmlApplicationContext ctx = new GenericXmlApplicationContext();
- ctx.getEnvironment().setDefaultProfiles("dev");
+ ctx.getEnvironment().setActiveProfiles("dev");
ctx.load("classpath:/com/bank/config/xml/transfer-service-config.xml");
ctx.refresh();

0 comments on commit 3d2b25d

Please sign in to comment.