Skip to content
Snippets Groups Projects
Commit dd703b3e authored by Jacob Vosmaer's avatar Jacob Vosmaer
Browse files

Remove duplicate code

parent 2b816075
Branches
Tags
No related merge requests found
Loading
@@ -2,12 +2,6 @@ require "spec_helper"
Loading
@@ -2,12 +2,6 @@ require "spec_helper"
   
describe GollumWiki do describe GollumWiki do
   
def create_temp_repo(path)
FileUtils.mkdir_p path
command = "git init --quiet #{path};"
system(command)
end
def remove_temp_repo(path) def remove_temp_repo(path)
FileUtils.rm_rf path FileUtils.rm_rf path
end end
Loading
Loading
Loading
@@ -2,12 +2,6 @@ require "spec_helper"
Loading
@@ -2,12 +2,6 @@ require "spec_helper"
   
describe WikiPage do describe WikiPage do
   
def create_temp_repo(path)
FileUtils.mkdir_p path
command = "git init --quiet #{path};"
system(command)
end
def remove_temp_repo(path) def remove_temp_repo(path)
FileUtils.rm_rf path FileUtils.rm_rf path
end end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment