Commit 75a89d53 authored by Mayra Cabrera's avatar Mayra Cabrera Committed by Stan Hu

Fixes broken group specs on MySQL

:nested_groups clause was added to failing specs
parent 6896fc3b
...@@ -91,7 +91,7 @@ describe GroupsController, type: :request do ...@@ -91,7 +91,7 @@ describe GroupsController, type: :request do
end end
end end
context 'subgroup' do context 'subgroup', :nested_groups do
let(:group) { create(:group, :nested) } let(:group) { create(:group, :nested) }
it 'does not create ip restriction' do it 'does not create ip restriction' do
......
...@@ -33,7 +33,7 @@ describe 'groups/edit.html.haml' do ...@@ -33,7 +33,7 @@ describe 'groups/edit.html.haml' do
end end
end end
context 'subgroup' do context 'subgroup', :nested_groups do
let(:group) { create(:group, :nested) } let(:group) { create(:group, :nested) }
before do before do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment