Sha256: 9650d7c61434aacce778e15ad21f4af4ab46b1e66ee2b0340eca6d03bee371da

Contents?: true

Size: 1.34 KB

Versions: 2

Compression:

Stored size: 1.34 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
jakal-0.0.8 features/calais.feature
jakal-0.0.7 features/calais.feature