update params in transaction controller spec
This commit is contained in:
parent
028fc8c641
commit
d4576f2453
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ RSpec.describe TransactionsController, type: :controller do
|
||||||
context "with valid attributes" do
|
context "with valid attributes" do
|
||||||
before :each do
|
before :each do
|
||||||
@attributes = { transaction: {
|
@attributes = { transaction: {
|
||||||
|
debtor: @debtor.name,
|
||||||
creditor: @creditor.name,
|
creditor: @creditor.name,
|
||||||
amount: 20,
|
amount: 20,
|
||||||
message: 'hoi'
|
message: 'hoi'
|
||||||
|
|
Loading…
Reference in a new issue