nyauth 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -62,7 +62,7 @@ RSpec.describe Nyauth::ApplicationHelper do
62
62
 
63
63
  context 'when client_name is admin' do
64
64
  let(:client_name) { :admin }
65
- it { is_expected.to eq nil }
65
+ it { is_expected.to eq "/admin/password" }
66
66
  end
67
67
 
68
68
  context 'when client_name is user' do
@@ -105,7 +105,7 @@ RSpec.describe Nyauth::ApplicationHelper do
105
105
 
106
106
  context 'when client_name is admin' do
107
107
  let(:client_name) { :admin }
108
- it { is_expected.to eq nil }
108
+ it { is_expected.to eq "/admin/reset_password_requests" }
109
109
  end
110
110
 
111
111
  context 'when client_name is user' do
@@ -119,7 +119,7 @@ RSpec.describe Nyauth::ApplicationHelper do
119
119
 
120
120
  context 'when client_name is admin' do
121
121
  let(:client_name) { :admin }
122
- it { is_expected.to eq nil }
122
+ it { is_expected.to eq "/admin/reset_password_requests/new" }
123
123
  end
124
124
 
125
125
  context 'when client_name is user' do
@@ -134,7 +134,7 @@ RSpec.describe Nyauth::ApplicationHelper do
134
134
 
135
135
  context 'when client_name is admin' do
136
136
  let(:client_name) { :admin }
137
- it { is_expected.to eq nil }
137
+ it { is_expected.to eq "/admin/reset_passwords/#{reset_password_key}" }
138
138
  end
139
139
 
140
140
  context 'when client_name is user' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nyauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ppworks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-30 00:00:00.000000000 Z
11
+ date: 2015-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails