Tests for team and group descriptions added
This commit is contained in:
parent
9959669f1c
commit
cf6d9a2222
5 changed files with 14 additions and 0 deletions
|
@ -44,9 +44,16 @@ class Userteams < Spinach::FeatureSteps
|
|||
|
||||
And 'I submit form with new team info' do
|
||||
fill_in 'name', with: 'gitlab'
|
||||
|
||||
fill_in 'user_team_description', with: 'team description'
|
||||
click_button 'Create team'
|
||||
end
|
||||
|
||||
And 'I should see newly created team' do
|
||||
page.should have_content "gitlab"
|
||||
page.should have_content "team description"
|
||||
end
|
||||
|
||||
Then 'I should be redirected to new team page' do
|
||||
team = UserTeam.last
|
||||
current_path.should == team_path(team)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue