mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-06 22:15:20 +02:00
Centralize entry naming (#2454)
* Centralize entry naming * Lint fixes, code style
This commit is contained in:
parent
afbfb474c2
commit
9110ab27d2
12 changed files with 187 additions and 16 deletions
|
@ -31,7 +31,7 @@ class TradesTest < ApplicationSystemTestCase
|
|||
visit_trades
|
||||
|
||||
within_trades do
|
||||
assert_text "Buy #{shares_qty} shares of AAPL"
|
||||
assert_text "Buy #{shares_qty}.0 shares of AAPL"
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -52,7 +52,7 @@ class TradesTest < ApplicationSystemTestCase
|
|||
visit_trades
|
||||
|
||||
within_trades do
|
||||
assert_text "Sell #{qty} shares of AAPL"
|
||||
assert_text "Sell #{qty}.0 shares of AAPL"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue