graphql_devise 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -2
- data/README.md +20 -15
- data/Rakefile +1 -0
- data/app/graphql/graphql_devise/mutations/sign_up.rb +26 -30
- data/config/locales/en.yml +3 -0
- data/lib/graphql_devise/concerns/controller_methods.rb +4 -0
- data/lib/graphql_devise/version.rb +1 -1
- data/spec/dummy/app/models/guest.rb +1 -2
- data/spec/dummy/config/routes.rb +1 -1
- data/spec/dummy/log/test.log +3067 -0
- data/spec/requests/mutations/sign_up_spec.rb +2 -6
- metadata +2 -2
@@ -122,12 +122,8 @@ RSpec.describe 'Sign Up process' do
|
|
122
122
|
GRAPHQL
|
123
123
|
end
|
124
124
|
|
125
|
-
|
126
|
-
|
127
|
-
it 'skips the sign up mutation' do
|
128
|
-
expect(json_response[:errors]).to contain_exactly(
|
129
|
-
hash_including(message: "Field 'guestSignUp' doesn't exist on type 'Mutation'")
|
130
|
-
)
|
125
|
+
it 'works without the confirmable module' do
|
126
|
+
expect { post_request }.to change(Guest, :count).from(0).to(1)
|
131
127
|
end
|
132
128
|
end
|
133
129
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphql_devise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mario Celi
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-10-
|
12
|
+
date: 2019-10-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: devise_token_auth
|