features: some under-the-hood enhancements
This commit is contained in:
parent
e5d8bdee8f
commit
1d369aada3
|
@ -105,10 +105,8 @@ end
|
|||
#
|
||||
|
||||
Given %r{^I have a configuration file with:$} do |table|
|
||||
File.open("_config.yml", "w") do |f|
|
||||
table.hashes.each do |row|
|
||||
f.write("#{row["key"]}: #{row["value"]}\n")
|
||||
end
|
||||
table.hashes.each do |row|
|
||||
step %(I have a configuration file with "#{row["key"]}" set to "#{row["value"]}")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@ require "fileutils"
|
|||
require "jekyll/utils"
|
||||
require "open3"
|
||||
require "time"
|
||||
require "safe_yaml/load"
|
||||
|
||||
class Paths
|
||||
SOURCE_DIR = Pathname.new(File.expand_path("../..", __dir__))
|
||||
|
|
Loading…
Reference in New Issue