adva-user 0.0.6 → 0.0.7

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.
@@ -1,3 +1,3 @@
1
1
  module AdvaUser
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
@@ -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: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
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-14 00:00:00 +01:00
19
+ date: 2011-01-31 00:00:00 +01:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency