Sha256: 7fb332090c45d4aeea5411f6f7c3fb673ca070bb2a5cac50da9654db912dc458

Contents?: true

Size: 1.53 KB

Versions: 5

Compression:

Stored size: 1.53 KB

Contents

Feature: Processing features
  In order to integrate our apps
  As a developer
  I want to make some requests and inspect some responses

	@unit @text
	Scenario: Sanitize some ok text
		Given I have a keyphrase 'the cat sat on the mat'
		When I sanitize this text
		Then it should be ok
		And it should say 'the cat sat on the mat'
	
	@unit @text
	Scenario: Sanitize some short text
		Given I have a keyphrase 'the cat sat'
		When I sanitize this text
		Then it should say ''
	
	@unit @text @wip
		Scenario: Sanitize some text with tabs and spaces
		Given I have a keyphrase 'the cat sat on 						the mat            '
		When I sanitize this text
		Then it should say 'the cat sat on the mat'
	
	@unit @text @wip
		Scenario: Sanitize some short text with tabs and spaces
		Given I have a keyphrase 'the   cat sat on 						           '
		When I sanitize this text
		Then it should say ''

	@unit @text
	Scenario: Sanitize some tagged short text
		Given I have a keyphrase '<a href="a-link.html>the cat sat</a>'
		When I sanitize this text
		Then it should say ''

	@unit @text
	Scenario: Sanitize some tagged text
		Given I have a keyphrase '<a href="a-link.html>the cat sat on the mat</a>'
		When I sanitize this text
		Then it should be ok
		Then it should say 'the cat sat on the mat'
		
	@unit @text @wip
	Scenario: Remove script tags
	  Given I have some script tag data
	  When I sanitize this text
	  Then it should say ' some para stuff here '

	Scenario: Clean a web page
		Given I have a sample BBC story
		When I sanitize this text
		Then it should be ok

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jakal-0.1.1 features/sanitize-text.feature
jakal-0.1.0 features/sanitize-text.feature
jakal-0.0.9 features/sanitize-text.feature
jakal-0.0.8 features/sanitize-text.feature
jakal-0.0.7 features/sanitize-text.feature