features/calais.feature in jakal-0.1.1 vs features/calais.feature in jakal-0.1.2
- old
+ new
@@ -1,43 +1,10 @@
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
+ @live
+ Scenario: Get nested tags from calais
+ Given I have some text
When I request the nested entities from calais
Then I should receive the entities grouped into categories
-
- 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