Use singleton in tests

This commit is contained in:
Alex Ling
2020-05-07 09:26:26 +00:00
parent 7448592216
commit 30dea57346
2 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ require "./spec_helper"
describe Config do
it "creates config if it does not exist" do
with_default_config do |_, _, path|
with_default_config do |_, path|
File.exists?(path).should be_true
end
end