now you can view comrade profile info #134
This commit is contained in:
parent
b3279b9b51
commit
9fa4df16ec
7 changed files with 58 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue