Sha256: dddfe2e838192c4d993aae00aea9e7f4ddfc6a574318664b0ebb7616256ef252
Contents?: true
Size: 308 Bytes
Versions: 3
Compression:
Stored size: 308 Bytes
Contents
require 'malt' When "say we have a (((\\w+))) document called '(((\\S+)))' containing" do |type, fname, text| file = File.join('tmp',fname) File.open(file, 'w'){ |f| f << text } end When "verify that (((.*?))) is" do |var, text| out = instance_variable_get(var) out.strip.assert == text.strip end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
malt-0.2.0 | qed/applique/malt.rb |
malt-0.1.1 | qed/applique/malt.rb |
malt-0.1.0 | qed/applique/malt.rb |