Skip to content

Commit 7ea3c72

Browse files
committed
Remove dig
1 parent c46115f commit 7ea3c72

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/requests/mutations/sign_up_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
expect(user).not_to be_active_for_authentication
4242
expect(user.confirmed_at).to be_nil
4343
expect(user.valid_password?(password)).to be_truthy
44-
expect(json_response.dig(:data, :userSignUp)).to include(
44+
expect(json_response[:data][:userSignUp]).to include(
4545
success: true,
4646
errors: [],
4747
user: {

0 commit comments

Comments
 (0)