Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: MetaMeute/anduin
base: db9b46a9f0
...
head fork: MetaMeute/anduin
compare: 9829818fc5
  • 3 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Commits on May 01, 2012
@johnyb johnyb fix user menu scenario
provide a real user to setup complete environment. fixes the scenario.
also remove the @wip tag
b6c6945
@johnyb johnyb only render form if user is available
under some conditions @user might be nil. (when rendered from device
views) and so just check for it. fixes a few scenarios
3089617
@johnyb johnyb remove @wip tag from set e-mail address scenario
scenario is now passing fine
9829818
View
9 app/views/users/edit.html.haml
@@ -1,5 +1,6 @@
#page_content
- = form_for @user do |f|
- = render :partial => 'password_fields', :locals => { :f => f }
- #buttons
- = f.submit
+ - unless @user.nil?
+ = form_for @user do |f|
+ = render :partial => 'password_fields', :locals => { :f => f }
+ #buttons
+ = f.submit
View
5 features/main_menu.feature
@@ -9,12 +9,11 @@ Feature: Main Menu
When I follow "Login"
Then I should be on the login page
- @wip
Scenario: User menu
- Given I am logged in as "Robert"
+ Given a user "Robert"
+ And I am logged in as "Robert"
When I go the home page
Then I should not see "Login"
But I should see "Robert"
When I follow "Robert"
Then I should be on the account page
-
View
1  features/password_management.feature
@@ -27,7 +27,6 @@ Feature: Password management
And I click "Change my password"
Then I should be logged in
- @wip
Scenario: set e-mail address
Given a user "Robert"
And I am logged in as "Robert"

No commit comments for this range

Something went wrong with that request. Please try again.