Commit cc1eb9657e67827e3de88d86b7f09f6aa11767a2

Authored by Angus MacArthur
1 parent cfe13a0d

style fixes

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
spec/contexts/projects_create_context_spec.rb
@@ -42,21 +42,24 @@ describe Projects::CreateContext do @@ -42,21 +42,24 @@ describe Projects::CreateContext do
42 stub_const("Settings", Class.new) 42 stub_const("Settings", Class.new)
43 Settings.stub_chain(:gitlab, :default_projects_features).and_return(@settings) 43 Settings.stub_chain(:gitlab, :default_projects_features).and_return(@settings)
44 end 44 end
  45 +
45 context 'should be public when setting is public' do 46 context 'should be public when setting is public' do
46 before do 47 before do
47 @settings.stub(:public) { true } 48 @settings.stub(:public) { true }
48 @project = create_project(@user, @opts) 49 @project = create_project(@user, @opts)
49 end 50 end
  51 +
50 it { @project.public.should be_true } 52 it { @project.public.should be_true }
51 end 53 end
  54 +
52 context 'should be private when setting is not public' do 55 context 'should be private when setting is not public' do
53 before do 56 before do
54 @settings.stub(:public) { false } 57 @settings.stub(:public) { false }
55 @project = create_project(@user, @opts) 58 @project = create_project(@user, @opts)
56 end 59 end
  60 +
57 it { @project.public.should be_false } 61 it { @project.public.should be_false }
58 end 62 end
59 -  
60 end 63 end
61 end 64 end
62 65