Skip to content

Commit

Permalink
test: Fix _asset config test
Browse files Browse the repository at this point in the history
  • Loading branch information
sman591 committed Aug 25, 2019
1 parent f0be0e3 commit 63f49ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/controllers/manage/configs_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class Manage::ConfigsControllerTest < ActionController::TestCase
HackathonConfig["logo_asset"] = ''
patch :update, params: { id: "logo_asset", hackathon_config: { logo_asset: "test" } }
assert_equal '', HackathonConfig["logo_asset"]
assert_redirected_to edit_manage_config_path("logo_asset")
assert_template :edit
end

should "update config CSS variables when custom_css is blank" do
Expand Down

0 comments on commit 63f49ec

Please sign in to comment.