Skip to content

Commit

Permalink
remove flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrieiz committed Oct 12, 2023
1 parent 6198c91 commit a76365d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
9 changes: 0 additions & 9 deletions spec/models/user_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,4 @@
end
end
end

# Flaky test
describe 'flaky' do
$raise = [true, false]

it 'fails' do
raise if $raise.shift
end
end
end
4 changes: 2 additions & 2 deletions spec/support/retry/create_issue.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ def initialize
def create_issue(title, body)
issue = client.create_issue(repo, title, body)
pp "Issue created: #{issue.html_url}"
rescue StandardError => e
p e.message
rescue StandardError => error
p error.message
end
end
end

0 comments on commit a76365d

Please sign in to comment.