Sha256: 4a948a4228c374b2d45dc3e9e20b19539be5c1ff7de0094e8e3c7da0d2739dc0
Contents?: true
Size: 328 Bytes
Versions: 8
Compression:
Stored size: 328 Bytes
Contents
require_relative "../../../test_helper" require "tempfile" module Eye module Patch describe Settings do it "evaluates the yaml as ERB" do file = Tempfile.new("yaml") file.write("sum: <%= 1 + 2 %>") file.close assert_equal 3, Settings.new(file.path)[:sum] end end end end
Version data entries
8 entries across 8 versions & 1 rubygems