package <%=packageName%>.cucumber.stepdefs;

import <%=packageName%>.<%= mainClass %>;

import org.springframework.boot.test.SpringApplicationContextLoader;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.web.WebAppConfiguration;
import org.springframework.test.web.servlet.ResultActions;

@WebAppConfiguration
@ContextConfiguration(classes = <%= mainClass %>.class, loader = SpringApplicationContextLoader.class)
public abstract class StepDefs {

    protected ResultActions actions;

}

package <%=packageName%>.cucumber.stepdefs;

import <%=packageName%>.<%= mainClass %>;

import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.web.WebAppConfiguration;
import org.springframework.test.web.servlet.ResultActions;

import org.springframework.boot.test.context.SpringBootTest;

@WebAppConfiguration
@SpringBootTest
@ContextConfiguration(classes = <%= mainClass %>.class)
public abstract class StepDefs {

    protected ResultActions actions;

}

Fix cucumber tests after SB1.5.1 upgrade
Fix cucumber tests after SB1.5.1 upgrade
