@@ -22,7 +22,7 @@ class Account::Subscriptions::CardCreationTest < ActionDispatch::IntegrationTest
2222 get card_path ( cards ( :unfinished_thoughts ) , script_name : accounts ( :initech ) . slug )
2323
2424 assert_response :success
25- assert_match /upgrade for more/i , response . body
25+ assert_match /upgrade to get more/i , response . body
2626 end
2727
2828 # Exceeding limits - shown instead of create buttons
@@ -35,7 +35,7 @@ class Account::Subscriptions::CardCreationTest < ActionDispatch::IntegrationTest
3535 get card_path ( cards ( :unfinished_thoughts ) , script_name : accounts ( :initech ) . slug )
3636
3737 assert_response :success
38- assert_match /you' ve used your.*free cards/i , response . body
38+ assert_match /you’ ve used your.*free cards/i , response . body
3939 end
4040
4141 test "admin sees exceeding storage limit notice" do
@@ -46,7 +46,7 @@ class Account::Subscriptions::CardCreationTest < ActionDispatch::IntegrationTest
4646 get card_path ( cards ( :unfinished_thoughts ) , script_name : accounts ( :initech ) . slug )
4747
4848 assert_response :success
49- assert_match /you' ve used your .*free storage/i , response . body
49+ assert_match /you’ ve run out of .*free storage/i , response . body
5050 end
5151
5252 # Paid accounts under limits - no notices
@@ -60,7 +60,7 @@ class Account::Subscriptions::CardCreationTest < ActionDispatch::IntegrationTest
6060
6161 assert_response :success
6262 assert_no_match /upgrade/i , response . body
63- assert_no_match /you' ve used your/i , response . body
63+ assert_no_match /you’ ve used your/i , response . body
6464 end
6565
6666 # Comped accounts under limits - no notices
@@ -74,6 +74,6 @@ class Account::Subscriptions::CardCreationTest < ActionDispatch::IntegrationTest
7474
7575 assert_response :success
7676 assert_no_match /upgrade/i , response . body
77- assert_no_match /you' ve used your/i , response . body
77+ assert_no_match /you’ ve used your/i , response . body
7878 end
7979end
0 commit comments