Skip to content

Commit 7aa0d98

Browse files
committed
fix tests
1 parent 8f62fcd commit 7aa0d98

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Gemfile

-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ source 'https://rubygems.org'
44
gemspec
55

66
# Site dependencies
7-
gem 'minima'
87
gem 'jekyll-seo-tag'
98
gem 'jekyll-sitemap'

spec/jekyll-admin/server/configuration_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def app
1515
it "updates the configuration" do
1616
config_path = File.expand_path "_config.yml", fixture_path("site")
1717
config_body = File.read(config_path)
18-
config_before = YAML.load(config_body)
18+
config_before = SafeYAML.load(config_body)
1919
config = config_before.dup
2020

2121
config["foo"] = "bar2"
@@ -33,7 +33,7 @@ def app
3333
it "doesn't inject the default collections" do
3434
config_path = File.expand_path "_config.yml", fixture_path("site")
3535
config_body = File.read(config_path)
36-
config_before = YAML.load(config_body)
36+
config_before = SafeYAML.load(config_body)
3737

3838
config = config_before.dup
3939
config["collections"]["test"] = { "foo" => "bar" }

0 commit comments

Comments
 (0)