Commit 0cbb235c3e74aa5dd716cdf9ab06db779f6166e8
1 parent
4403f71f
Exists in
master
and in
4 other branches
fix incorrectly moved spinach step
Showing
2 changed files
with
6 additions
and
6 deletions
Show diff stats
features/steps/project/project_wall.rb
| ... | ... | @@ -15,10 +15,4 @@ class ProjectWall < Spinach::FeatureSteps |
| 15 | 15 | Then 'I should see project wall note "my special test message"' do |
| 16 | 16 | page.should have_content "my special test message" |
| 17 | 17 | end |
| 18 | - | |
| 19 | - Then 'I should see comment "XML attached"' do | |
| 20 | - within(".note") do | |
| 21 | - page.should have_content("XML attached") | |
| 22 | - end | |
| 23 | - end | |
| 24 | 18 | end | ... | ... |
features/steps/shared/note.rb
| ... | ... | @@ -96,4 +96,10 @@ module SharedNote |
| 96 | 96 | page.should have_css(".js-note-preview-button", visible: true) |
| 97 | 97 | end |
| 98 | 98 | end |
| 99 | + | |
| 100 | + Then 'I should see comment "XML attached"' do | |
| 101 | + within(".note") do | |
| 102 | + page.should have_content("XML attached") | |
| 103 | + end | |
| 104 | + end | |
| 99 | 105 | end | ... | ... |