Update database schema, fix spec
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Release Drafter / Update release notes draft (pull_request) Successful in 2s

This commit is contained in:
Râu Cao
2023-09-03 15:29:09 +02:00
parent 558100c35e
commit 96c669ab4e
2 changed files with 3 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ RSpec.describe CreateLndhubAccountJob, type: :job do
context "with existing credentials stored" do
before do
user.ln_login = "foo"
user.ln_account = "foo"
user.ln_password = "bar"
user.save!
end
@@ -36,7 +36,7 @@ RSpec.describe CreateLndhubAccountJob, type: :job do
expect(WebMock).to_not have_requested(:post, "http://localhost:3023/create")
user.reload
expect(user.ln_login).to eq("foo")
expect(user.ln_account).to eq("foo")
expect(user.ln_password).to eq("bar")
end
end