On 07/26/2010 10:00 PM, Jason Guiditta wrote:
> This was my fault, forgot to run 'rake cucumber'
> before ACKing change that removed sidebar from
> most pages.
> ---
>   src/features/pool.feature     |    8 ++++----
>   src/features/support/paths.rb |    3 +++
>   2 files changed, 7 insertions(+), 4 deletions(-)
>
> diff --git a/src/features/pool.feature b/src/features/pool.feature
> index 9e27499..4d563c8 100644
> --- a/src/features/pool.feature
> +++ b/src/features/pool.feature
> @@ -8,7 +8,7 @@ Feature: Manage Pools
>       And I am logged in
>
>     Scenario: Create a new Pool
> -     Given I am on the homepage
> +     Given I am on the instances page
>       And there is not a pool named "mockpool"
>       When I follow "Add a pool"
>       Then I should be on the new pool page
> @@ -27,7 +27,7 @@ Feature: Manage Pools
>         | m1-small  | 1740   | 2   | 160.0   | i386         |
>         | m1-large  | 4096   | 4   | 850.0   | x86_64       |
>         | m1-xlarge | 8192   | 8   | 1690.0  | x86_64       |
> -       And I am on the homepage
> +       And I am on the instances page
>         When I follow "mockpool"
>         Then I should be on the show pool page
>         When I follow "Hardware Profiles"
> @@ -39,7 +39,7 @@ Feature: Manage Pools
>     Scenario: View Pool's Realms
>         Given I own a pool named "mockpool"
>         And the Pool has the following Realms named "Europe, United States"
> -       And I am on the homepage
> +       And I am on the instances page
>         When I follow "mockpool"
>         Then I should be on the show pool page
>         When I follow "Realms"
> @@ -61,7 +61,7 @@ Feature: Manage Pools
>       | running_cpus              | 16       |
>       | total_instances           | 15       |
>       | total_storage             | 8400     |
> -    And I am on the homepage
> +    And I am on the instances page
>       When I follow "mockpool"
>       Then I should be on the show pool page
>       When I follow "Quota"
> diff --git a/src/features/support/paths.rb b/src/features/support/paths.rb
> index 1f9a8a3..db20948 100644
> --- a/src/features/support/paths.rb
> +++ b/src/features/support/paths.rb
> @@ -44,6 +44,9 @@ module NavigationHelpers
>       when /the dashboard page/
>         dashboard_path
>
> +    when /the instances page/
> +      instance_path
> +
>       when /the pool hardware profiles page/
>         hardware_profiles_pool_path
>

ACK
_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to