Skip to content

Commit 469fb94

Browse files
committed
Reformat Ruby with Rufo
1 parent 47414c7 commit 469fb94

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

test/controllers/manage/configs_controller_test.rb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
require 'test_helper'
1+
require "test_helper"
22

33
class Manage::ConfigsControllerTest < ActionController::TestCase
44
context "while not authenticated" do
@@ -15,9 +15,9 @@ class Manage::ConfigsControllerTest < ActionController::TestCase
1515
end
1616

1717
should "not update config" do
18-
HackathonConfig['registration_is_open'] = false
18+
HackathonConfig["registration_is_open"] = false
1919
patch :update, params: { id: "registration_is_open", hackathon_config: { registration_is_open: "true" } }
20-
assert_equal false, HackathonConfig['registration_is_open']
20+
assert_equal false, HackathonConfig["registration_is_open"]
2121
assert_redirected_to new_user_session_path
2222
end
2323
end
@@ -42,9 +42,9 @@ class Manage::ConfigsControllerTest < ActionController::TestCase
4242
end
4343

4444
should "not update config" do
45-
HackathonConfig['registration_is_open'] = false
45+
HackathonConfig["registration_is_open"] = false
4646
patch :update, params: { id: "registration_is_open", hackathon_config: { registration_is_open: "true" } }
47-
assert_equal false, HackathonConfig['registration_is_open']
47+
assert_equal false, HackathonConfig["registration_is_open"]
4848
assert_redirected_to root_path
4949
end
5050
end
@@ -67,9 +67,9 @@ class Manage::ConfigsControllerTest < ActionController::TestCase
6767
end
6868

6969
should "not update config" do
70-
HackathonConfig['registration_is_open'] = false
70+
HackathonConfig["registration_is_open"] = false
7171
patch :update, params: { id: "registration_is_open", hackathon_config: { registration_is_open: "true" } }
72-
assert_equal false, HackathonConfig['registration_is_open']
72+
assert_equal false, HackathonConfig["registration_is_open"]
7373
end
7474
end
7575

@@ -91,9 +91,9 @@ class Manage::ConfigsControllerTest < ActionController::TestCase
9191
end
9292

9393
should "update config" do
94-
HackathonConfig['registration_is_open'] = false
94+
HackathonConfig["registration_is_open"] = false
9595
patch :update, params: { id: "registration_is_open", hackathon_config: { registration_is_open: "true" } }
96-
assert_equal true, HackathonConfig['registration_is_open']
96+
assert_equal true, HackathonConfig["registration_is_open"]
9797
assert_redirected_to manage_configs_path
9898
end
9999
end

0 commit comments

Comments
 (0)