Sha256: 91bb3dba2e1a8d067417c6e2d853aa8002daa618cd9d4deb9a4c9b5382bfe1b6

Contents?: true

Size: 325 Bytes

Versions: 1

Compression:

Stored size: 325 Bytes

Contents

require 'malt'
require 'ae/pry'

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

1 entries across 1 versions & 1 rubygems

Version Path
malt-0.3.0 qed/applique/malt.rb