tests: fix broken tests.

* Fix a broken Twitter profile image upload test.
* Skip a broken DeviantArt flash file upload test (flash no longer
  supported by DeviantArt?)
* Skip user upgrade tests when Stripe is not configured.
This commit is contained in:
evazion
2021-01-27 00:11:05 -06:00
parent 3137284292
commit 716cdb0126
4 changed files with 7 additions and 1 deletions

View File

@@ -2,6 +2,10 @@ require 'test_helper'
class UserUpgradesControllerTest < ActionDispatch::IntegrationTest
context "The user upgrades controller" do
setup do
skip unless UserUpgrade.enabled?
end
context "new action" do
should "render for a self upgrade to Gold" do
@user = create(:user)