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 42 stub_const("Settings", Class.new)
43 43 Settings.stub_chain(:gitlab, :default_projects_features).and_return(@settings)
44 44 end
  45 +
45 46 context 'should be public when setting is public' do
46 47 before do
47 48 @settings.stub(:public) { true }
48 49 @project = create_project(@user, @opts)
49 50 end
  51 +
50 52 it { @project.public.should be_true }
51 53 end
  54 +
52 55 context 'should be private when setting is not public' do
53 56 before do
54 57 @settings.stub(:public) { false }
55 58 @project = create_project(@user, @opts)
56 59 end
  60 +
57 61 it { @project.public.should be_false }
58 62 end
59   -
60 63 end
61 64 end
62 65  
... ...