Sha256: 7e9accf49d2f5844ee8d9d7f96b1c0159fa14bc10a5195ad576c6bfd66e67b47
Contents?: true
Size: 402 Bytes
Versions: 2
Compression:
Stored size: 402 Bytes
Contents
Given "I have a keyphrase '$text'" do |text| @text = text end Given /^I have a sample BBC story$/ do @text = File.open('features/mocks/bbc_story.html','r') {|f| f.readlines.to_s} end When /^I sanitize this text$/ do @text = sanitize @text end Then /^it should be ok$/ do @text.should_not be_nil @text.should_not == "" end Then "it should say '$text'" do |text| @text.should == text end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sshingler-jkl-0.0.5 | features/step_definitions/sanitize-text_steps.rb |
sshingler-jkl-0.0.6 | features/step_definitions/sanitize-text_steps.rb |