Skip to content

Commit c76bf15

Browse files
committed
🔧 Update appraisals
1 parent 979d209 commit c76bf15

File tree

4 files changed

+63
-56
lines changed

4 files changed

+63
-56
lines changed

.idea/workspace.xml

Lines changed: 36 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.rubocop_gradual.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@
104104
"spec/support/shared_contexts/persistable_model.rb:4102269984": [
105105
[3, 22, 19, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 3037799226]
106106
],
107+
"spec/support/shared_examples/integration.rb:2073621034": [
108+
[180, 20, 20, "RSpec/ExpectActual: Provide the actual value you are testing to `expect(...)`.", 2373910860],
109+
[227, 20, 15, "RSpec/ExpectActual: Provide the actual value you are testing to `expect(...)`.", 2673315381]
110+
],
107111
"spec_ignored/nobrainer_spec.rb:3191134947": [
108112
[19, 1, 65, "RSpec/SpecFilePathFormat: Spec path should end with `omni_auth/identity/models/no_brainer*_spec.rb`.", 1527957824],
109113
[20, 3, 12, "RSpec/BeforeAfterAll: Beware of using `before(:all)` as it may cause state to leak between tests. If you are using `rspec-rails`, and `use_transactional_fixtures` is enabled, then records created in `before(:all)` are not automatically rolled back.", 86334566],

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,4 +644,4 @@ DEPENDENCIES
644644
yard-yaml (~> 0.1)
645645

646646
BUNDLED WITH
647-
2.7.2
647+
2.7.2

spec/support/shared_examples/integration.rb

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -69,22 +69,22 @@
6969
describe "login flow" do
7070
before do
7171
post "/auth/identity/register",
72-
{
73-
name: "Login Test",
74-
email: "login@example.com",
75-
password: "test_password_123",
76-
password_confirmation: "test_password_123",
77-
},
78-
{"HTTP_HOST" => "example.org", "rack.url_scheme" => "http"}
72+
{
73+
name: "Login Test",
74+
email: "login@example.com",
75+
password: "test_password_123",
76+
password_confirmation: "test_password_123",
77+
},
78+
{"HTTP_HOST" => "example.org", "rack.url_scheme" => "http"}
7979
end
8080

8181
it "authenticates with valid credentials", :check_output do
8282
post "/auth/identity/callback",
83-
{
84-
auth_key: "login@example.com",
85-
password: "test_password_123",
86-
},
87-
{"HTTP_HOST" => "example.org", "rack.url_scheme" => "http"}
83+
{
84+
auth_key: "login@example.com",
85+
password: "test_password_123",
86+
},
87+
{"HTTP_HOST" => "example.org", "rack.url_scheme" => "http"}
8888

8989
# $stderr.puts "=== REGISTRATION RESPONSE ==="
9090
# $stderr.puts "Status: #{last_response.status}"
@@ -100,23 +100,23 @@
100100

101101
it "rejects invalid password", :check_output do
102102
post "/auth/identity/callback",
103-
{
104-
auth_key: "login@example.com",
105-
password: "wrong_password",
106-
},
107-
{"HTTP_HOST" => "example.org", "rack.url_scheme" => "http"}
103+
{
104+
auth_key: "login@example.com",
105+
password: "wrong_password",
106+
},
107+
{"HTTP_HOST" => "example.org", "rack.url_scheme" => "http"}
108108

109109
follow_redirect!
110110
expect(last_response.status).to be >= 400
111111
end
112112

113113
it "rejects non-existent user", :check_output do
114114
post "/auth/identity/callback",
115-
{
116-
auth_key: "nonexistent@example.com",
117-
password: "any_password",
118-
},
119-
{"HTTP_HOST" => "example.org", "rack.url_scheme" => "http"}
115+
{
116+
auth_key: "nonexistent@example.com",
117+
password: "any_password",
118+
},
119+
{"HTTP_HOST" => "example.org", "rack.url_scheme" => "http"}
120120

121121
follow_redirect!
122122
expect(last_response.status).to be >= 400

0 commit comments

Comments
 (0)