json_voorhees 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/json_voorhees/app_make_user/templates/user/specs/request_specs.rb +1 -1
- data/lib/generators/json_voorhees/app_make_user/templates/user/specs/route_specs.rb +1 -1
- data/lib/generators/json_voorhees/app_make_user/templates/user/user_controller.rb +1 -1
- data/lib/generators/json_voorhees/app_make_user/templates/user/user_routes.rb +1 -1
- data/lib/json_voorhees/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fcf758e5381dd40d340150ab34c911ab63452fbb
|
4
|
+
data.tar.gz: 11412a96e41c91fae05ec0f88f23c18449f35bde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25232370e8d1ff792aa5ecf09fdac72d230aba1a265c76c925f283b7c3e5237129267b9c635a81696b7b600cb3f64864d5c5f96824ca13ccafbb9bc03186c816
|
7
|
+
data.tar.gz: 3ddd175e31c58d15902f92576d0b01eb076d767cd9144ddf13ced5ad0cc8dbe5fee7f3e81f341db8c41f4ea6b21db5373b2d16e1402bab126d51238581ceaf6e
|
@@ -141,7 +141,7 @@ RSpec.describe ::People::V1::User, :type => :request do
|
|
141
141
|
user = FactoryGirl.create(:people_user_1,@attrs)
|
142
142
|
token = user.tokens[0].auth_token
|
143
143
|
header = {"Auth-Token" => token, "Email" => user.email}
|
144
|
-
|
144
|
+
post 'api/1/users/logout', nil, header
|
145
145
|
expect(::People::V1::User.count).to eq(1)
|
146
146
|
expect(response.status).to eq(200) #ok
|
147
147
|
expect(::Arcadex::Token.count).to eq(0)
|
@@ -17,7 +17,7 @@ RSpec.describe "Users sign up process routing", :type => :routing do
|
|
17
17
|
)
|
18
18
|
end
|
19
19
|
it "routes to logout" do
|
20
|
-
expect(:
|
20
|
+
expect(:post => "/api/1/users/logout").to route_to(
|
21
21
|
:controller => "people/api/v1/users",
|
22
22
|
:action => "logout"
|
23
23
|
)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: json_voorhees
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cleophus Robinson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|