diff options
author | gitlabhq <m@gitlabhq.com> | 2011-10-25 07:32:02 +0300 |
---|---|---|
committer | gitlabhq <m@gitlabhq.com> | 2011-10-25 07:32:02 +0300 |
commit | afe98ae74ab13d11908e74ada1d10dccc333228b (patch) | |
tree | 59b347ca22fa523d5bdc2d8603a15502e397b90b /spec | |
parent | 5baa5fad0a1c6e2b8790f07f62c088fd505406d9 (diff) | |
download | gitlab-ce-afe98ae74ab13d11908e74ada1d10dccc333228b.tar.gz |
Issue #149 fixed
Diffstat (limited to 'spec')
-rw-r--r-- | spec/requests/team_members_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/requests/team_members_spec.rb b/spec/requests/team_members_spec.rb index ec0af3214a9..650ed4497f2 100644 --- a/spec/requests/team_members_spec.rb +++ b/spec/requests/team_members_spec.rb @@ -10,7 +10,9 @@ describe "TeamMembers" do describe "View profile" do it "should be available" do visit(team_project_path(@project)) - find(:xpath, "//table[@id='team-table']//a[1]").click + within "#team-table" do + click_link(@user.name) + end page.should have_content @user.skype page.should_not have_content 'Twitter' end |