Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Skip system test instead of comment it (#348)

Pedro López Mareque5de519945901
diff --git a/test/system/accounts_test.rb b/test/system/accounts_test.rb
index 030cb87d..9c4401fe 100644
--- a/test/system/accounts_test.rb
+++ b/test/system/accounts_test.rb
@@ -5,14 +5,16 @@ class AccountsTest < ApplicationSystemTestCase
sign_in @user = users(:bob)
end
- # test "should create account" do
- # click_on "New account"
- # click_on "Credit Card"
- # within "form" do
- # fill_in "Name", with: "VISA"
- # fill_in "Balance", with: "1000"
- # click_on "Submit"
- # end
- # assert_text "$1,000"
- # end
+ test "should create account" do
+ skip("Disabling this test for now, UI is changing to quickly to do systems testing")
+
+ click_on "New account"
+ click_on "Credit Card"
+ within "form" do
+ fill_in "Name", with: "VISA"
+ fill_in "Balance", with: "1000"
+ click_on "Submit"
+ end
+ assert_text "$1,000"
+ end
end