Updated missed styles
Change-Id: I05e02ff7e36e2350cdf5d2b94095ada9760a204e
This commit is contained in:
parent
3e71af9f7f
commit
0cd28156d5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue