Feature: As a site user
    In order to find a user with a relevant skill
    I would like to see a users self assessed skills set

	Background:
      Given I am on the "home" page
      And the following users exist
        | first_name | last_name | email                   | skills              |
        | Alice      | Jones     | alicejones@hotmail.com  | ruby, rails, rspec  |
        | Bob        | Butcher   | bobb112@hotmail.com     | ruby, c++           |
      And I am logged in as user with email "brett@example.com", with password "12345678"

	@javascript
    Scenario: Adding skills to profile
      Given I am on my "edit profile" page
      And I add skills "c++,java,php"
      And I click "Update" button
      Given I go to my "profile" page
      Then I should be on the "user profile" page for "brett@example.com"
      And I should see skills "c++,java,php" on my profile

    @javascript
    Scenario: Tag Cloud of Skills on members page
      When I click "Our members"
      Then I should be on the "our members" page
      And I should see a tag cloud of skills:
        | skill | size  |
        | ruby  | large |
        | rails | small |
        | rspec | small |
        | c++   | small |
Feature: As a site user
    In order to find a user with a relevant skill
    I would like to see a users self assessed skills set

	Background:
      Given I am on the "home" page
      And the following users exist
        | first_name | last_name | email                   | skills              |
        | Alice      | Jones     | alicejones@hotmail.com  | ruby, rails, rspec  |
        | Bob        | Butcher   | bobb112@hotmail.com     | ruby, c++           |
      And I am logged in as user with email "brett@example.com", with password "12345678"

	@javascript
    Scenario: Adding skills to profile
      Given I am on my "edit profile" page
      And I add skills "c++,java,php"
      And I click "Update" button
      Given I go to my "profile" page
      Then I should be on the "user profile" page for "brett@example.com"
      And I should see skills "c++,java,php" on my profile

    @javascript
    Scenario: Tag Cloud of Skills on members page
      When I click "Our members"
      Then I should be on the "our members" page
      And I should see a tag cloud of skills:
        | skill | class        |
        | ruby  | btn-success  |
        | rails | btn-primary  |
        | rspec | btn-primary  |
        | c++   | btn-primary  |
Tag Cloud Feature file modified
Tag Cloud Feature file modified
