summaryrefslogtreecommitdiff
path: root/features/steps/project/project.rb
blob: 7a85f57a218cdd465a03ea72c5c1d84e53e36e94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class Projects < Spinach::FeatureSteps
  include SharedAuthentication
  include SharedProject
  include SharedPaths

  And 'change project settings' do
    fill_in 'project_name', with: 'NewName'
    uncheck 'project_issues_enabled'
  end

  And 'I save project' do
    click_button 'Save'
  end

  Then 'I should see project with new settings' do
    find_field('project_name').value.should == 'NewName'
  end
end