summaryrefslogtreecommitdiff
path: root/features/steps/project/project.rb
blob: a96b086fae56a77580667586c1609390471f3305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class ProjectFeature < 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 changes'
  end

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