@When("story $name is uploaded appending '$text'")
public void storyIsUploaded(String name, String text) {
ResourceUploader uploader = resourceupLoader();
Resource resource = index.get(name);
resource.setContent(resource.getContent()+" "+text);
uploader.uploadResource(resource);
}
private ResourceIndexer resourceIndexer() {
if (providerName.equals("Redmine")) {
return new IndexFromRedmine();