Sha256: 8081e8583b1c6bf7ddb52f260e9e445fba86b51fd7f4497caf3a19e54c63c16f
Contents?: true
Size: 580 Bytes
Versions: 2
Compression:
Stored size: 580 Bytes
Contents
Given /^input of "([^\"]*)" text$/ do |feature| flannel_filename = File.join("features", "fixtures", "#{feature}.flannel") out_filename = File.join("features", "fixtures", "#{feature}.out") @before = File.read(flannel_filename) @after = File.read(out_filename) @wiki_link = nil end When /^I quilt it with flannel$/ do @output = Flannel.quilt @before, :wiki_link => @wiki_link end Then /^valid html should be produced$/ do assert_equal @after, @output end Given /^a formatter of '([^\"']*)'$/ do |formatter| @wiki_link = lambda { |keyword| eval formatter } end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
rubyyot-flannel-0.0.1 | features/step_definitions/flannel_steps.rb |
flannel-0.0.1 | features/step_definitions/flannel_steps.rb |