Feature: Calais-Specific features In order to use the Calais Meta-Tagging Service As a developer I want to make some requests and inspect some responses @connection_needed Scenario: Post some very simple text to calais, inspect the response Given I have some simple text When I post to calais Then I should get a response And I should receive some tags @connection_needed Scenario: Post a mock story to calais, inspect the response Given I have a sanitized sample BBC story When I post to calais Then I should get a response And I should receive some tags @connection_needed Scenario: Get nested tags from calais Given I have some simple text When I request the nested entities from calais Then I should get a decent response Scenario: Clean up blank items from a calais response Given I have a mock calais response When I remove the unwanted items Then I should receive some tags And there should no longer be any "instances" And there should no longer be any "relevance" And there should no longer be any "blank" And there should no longer be any "not_available" Scenario: Go through the calais response tags in a bit more detail Given I have a mock calais response When I remove the unwanted items Then I should receive some tags And there should be some "Organization" tags Scenario: Go through the calais response tags as a single array Given I have a mock calais response Then I should be able to see the whole lot of tags as one block