adva-user 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/adva_user/version.rb +1 -1
- data/lib/testing/step_definitions.rb +2 -0
- metadata +4 -4
data/lib/adva_user/version.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
Given /^I am signed in with "([^"]*)" and "([^"]*)"$/ do |email, password|
|
2
2
|
post user_session_path, :user => { :email => email, :password => password }
|
3
|
+
@user = User.find_by_email(email)
|
3
4
|
end
|
4
5
|
|
5
6
|
# This step should only be used for testing the login itself (login.feature)
|
@@ -10,6 +11,7 @@ Given /^I sign in with "([^"]*)" and "([^"]*)"$/ do |email, password|
|
|
10
11
|
fill_in 'Email', :with => email
|
11
12
|
fill_in 'Password', :with => password
|
12
13
|
click_button 'Sign in'
|
14
|
+
@user = User.find_by_email(email)
|
13
15
|
end
|
14
16
|
|
15
17
|
Given /a confirmed user with email "([^"]+)" and password "([^"]+)"/ do |email, password|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adva-user
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 7
|
10
|
+
version: 0.0.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ingo Weiss
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-01-
|
19
|
+
date: 2011-01-31 00:00:00 +01:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|