diff options
Diffstat (limited to 'features/steps/project/wall.rb')
| -rw-r--r-- | features/steps/project/wall.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/features/steps/project/wall.rb b/features/steps/project/wall.rb new file mode 100644 index 00000000000..7c61580eb2c --- /dev/null +++ b/features/steps/project/wall.rb @@ -0,0 +1,18 @@ +class ProjectWall < Spinach::FeatureSteps + include SharedAuthentication + include SharedProject + include SharedNote + include SharedPaths + + + Given 'I write new comment "my special test message"' do + within(".wall-note-form") do + fill_in "note[note]", with: "my special test message" + click_button "Add Comment" + end + end + + Then 'I should see project wall note "my special test message"' do + page.should have_content "my special test message" + end +end |
