Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pnatashap committed Feb 3, 2024
1 parent be2bced commit 3abc606
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-22.04]
ruby: [3.0, 2.7]
ruby: [3.0]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion test/test_tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
# License:: MIT
class Rsk::TasksTest < Minitest::Test
def test_adds_and_fetches
login = "bobby#{rand(99_999)}"
login = "bobbyT#{rand(99_999)}"
project = Rsk::Projects.new(test_pgsql, login).add("test#{rand(99_999)}")
cid = Rsk::Causes.new(test_pgsql, project).add('we have data')
rid = Rsk::Risks.new(test_pgsql, project).add('we may lose it')
Expand Down
2 changes: 1 addition & 1 deletion test/test_telepings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_fetches
end

def test_adds
login = "judy#{rand(99_999)}"
login = "judyTA#{rand(99_999)}"
tasks = test_tasks(login)
telechats = Rsk::Telechats.new(test_pgsql)
chat = rand(99_999)
Expand Down

0 comments on commit 3abc606

Please sign in to comment.