mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-24 20:16:08 +10:00
removes the test file of the project spec for invalid method
This commit is contained in:
committed by
Yorick Peterse
parent
337cb45226
commit
8039bbf7f8
@@ -560,14 +560,6 @@ describe Project, models: true do
|
||||
end
|
||||
end
|
||||
|
||||
describe "#main_language" do
|
||||
let(:project) { create :project }
|
||||
|
||||
it 'shows the main language of the project' do
|
||||
expect(project.main_language).to eq("Ruby")
|
||||
end
|
||||
end
|
||||
|
||||
describe '#visibility_level_allowed?' do
|
||||
let(:project) { create :project, visibility_level: Gitlab::VisibilityLevel::INTERNAL }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user