Skip to content

Commit

Permalink
try using retry mechanism to fix test on pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Vakmeth committed Feb 27, 2024
1 parent 3729d09 commit 38e327f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions spec/features/skills_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ def fill_out_form
end
end
edited_skill = Skill.where(title: 'new Title')[0]
expect(edited_skill.category.title).to eq('Linux-Engineering')
expect(edited_skill.category.parent.title).to eq('System-Engineering')
expect(edited_skill.default_set).to eq(true)
expect(edited_skill.radar).to eq('adopt')
expect(edited_skill.portfolio).to eq('nein')
until edited_skill
expect(edited_skill.category.title).to eq('Linux-Engineering')
expect(edited_skill.category.parent.title).to eq('System-Engineering')
expect(edited_skill.default_set).to eq(true)
expect(edited_skill.radar).to eq('adopt')
expect(edited_skill.portfolio).to eq('nein')
end
end

it 'can cancel edited skill' do
Expand Down

0 comments on commit 38e327f

Please sign in to comment.