Improve some visuals (#62)
Kind of make it look better. Reviewed-on: #62
This commit is contained in:
parent
295a5c0112
commit
b43629bdc9
29 changed files with 1937 additions and 395 deletions
|
@ -8,7 +8,7 @@ class CreditCardBillsTest < ApplicationSystemTestCase
|
|||
|
||||
test "visiting the index" do
|
||||
visit credit_card_bills_url
|
||||
assert_selector "h1", text: "Credit card bills"
|
||||
assert_selector "h1", text: "Credit Card Bills"
|
||||
end
|
||||
|
||||
test "should create credit card bill" do
|
||||
|
@ -25,7 +25,7 @@ class CreditCardBillsTest < ApplicationSystemTestCase
|
|||
|
||||
test "should update Credit card bill" do
|
||||
visit credit_card_bill_url(@credit_card_bill)
|
||||
click_on "Edit this credit card bill", match: :first
|
||||
click_on "Edit credit card bill", match: :first
|
||||
|
||||
fill_in "Amount", with: @credit_card_bill.amount
|
||||
fill_in "Description", with: @credit_card_bill.description
|
||||
|
@ -37,7 +37,7 @@ class CreditCardBillsTest < ApplicationSystemTestCase
|
|||
|
||||
test "should destroy Credit card bill" do
|
||||
visit credit_card_bill_url(@credit_card_bill)
|
||||
click_on "Destroy this credit card bill", match: :first
|
||||
click_on "Delete credit card bill", match: :first
|
||||
|
||||
assert_text "Credit card bill was successfully destroyed"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue