Tests for team and group descriptions added

This commit is contained in:
Andrew8xx8 2013-02-19 23:01:57 +04:00
parent 9959669f1c
commit cf6d9a2222
5 changed files with 14 additions and 0 deletions

View file

@ -70,11 +70,13 @@ class Groups < Spinach::FeatureSteps
And 'submit form with new group info' do
fill_in 'group_name', :with => 'Samurai'
fill_in 'group_description', :with => 'Tokugawa Shogunate'
click_button "Create group"
end
Then 'I should see newly created group' do
page.should have_content "Samurai"
page.should have_content "Tokugawa Shogunate"
page.should have_content "You will only see events from projects in this group"
end