Skip to content

Commit

Permalink
mock system call
Browse files Browse the repository at this point in the history
  • Loading branch information
ashmaroli committed Oct 22, 2018
1 parent 657da5b commit e9fc664
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/draft_spec.rb
Expand Up @@ -13,6 +13,7 @@

before(:each) do
FileUtils.mkdir_p drafts_dir unless File.directory? drafts_dir
allow(Jekyll::Compose::FileEditor).to receive(:system)
end

after(:each) do
Expand Down

0 comments on commit e9fc664

Please sign in to comment.