now you can view comrade profile info #134

This commit is contained in:
gitlabhq 2011-10-21 15:56:37 +03:00
parent b3279b9b51
commit 9fa4df16ec
7 changed files with 58 additions and 8 deletions

View file

@ -7,6 +7,15 @@ describe "TeamMembers" do
@project.add_access(@user, :read, :admin)
end
describe "View profile" do
it "should be available" do
visit(team_project_path(@project))
find(:xpath, "//table[@id='team-table']//a[1]").click
page.should have_content @user.skype
page.should_not have_content 'Twitter'
end
end
describe "New Team member", :js => true do
before do
@user_1 = Factory :user