Commit c6b311a9 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Limit group title spec for subgroups with postgres only

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 6c8d2b99
......@@ -109,7 +109,7 @@ describe GroupsHelper do
let(:deep_nested_group) { create(:group, parent: nested_group) }
let!(:very_deep_nested_group) { create(:group, parent: deep_nested_group) }
it 'outputs the groups in the correct order' do
it 'outputs the groups in the correct order', :postgresql do
expect(group_title(very_deep_nested_group)).to match(/>#{group.name}<\/a>.*>#{nested_group.name}<\/a>.*>#{deep_nested_group.name}<\/a>/)
end
end
......
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