Updated missed styles

Change-Id: I05e02ff7e36e2350cdf5d2b94095ada9760a204e
This commit is contained in:
Izaak Alpert 2013-10-10 09:05:59 -04:00
parent 3e71af9f7f
commit 0cd28156d5
2 changed files with 6 additions and 3 deletions

View File

@ -73,9 +73,11 @@ describe UsersProjectObserver do
@project = create(:project, wiki_enabled: true)
@path = GollumWiki.new(@project, user).send(:path_to_repo)
end
after do
FileUtils.rm_rf(@path)
end
it { File.exists?(@path).should be_true }
end
@ -84,6 +86,7 @@ describe UsersProjectObserver do
@project = create(:project, wiki_enabled: false)
@path = GollumWiki.new(@project, user).send(:path_to_repo)
end
it { File.exists?(@path).should be_false }
end
end