Sha256: bdc733155fd0e649e42993bff57119fe18576afa8b4331767f903c1146badb3d

Contents?: true

Size: 1.3 KB

Versions: 2

Compression:

Stored size: 1.3 KB

Contents

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
	
  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	
	

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sshingler-jkl-0.0.5 features/calais.feature
sshingler-jkl-0.0.6 features/calais.feature