diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-19 19:53:21 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-19 19:53:21 +0400 |
commit | 0cbb235c3e74aa5dd716cdf9ab06db779f6166e8 (patch) | |
tree | 98d75975d8e1a6f5b7f6e664d5b3a312d3ef9301 /features | |
parent | 4403f71f454d8341fba830db1f0aaf95ef2dc54b (diff) |
fix incorrectly moved spinach step
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/project_wall.rb | 6 | ||||
-rw-r--r-- | features/steps/shared/note.rb | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/features/steps/project/project_wall.rb b/features/steps/project/project_wall.rb index a35569294a7..7c61580eb2c 100644 --- a/features/steps/project/project_wall.rb +++ b/features/steps/project/project_wall.rb @@ -15,10 +15,4 @@ class ProjectWall < Spinach::FeatureSteps Then 'I should see project wall note "my special test message"' do page.should have_content "my special test message" end - - Then 'I should see comment "XML attached"' do - within(".note") do - page.should have_content("XML attached") - end - end end diff --git a/features/steps/shared/note.rb b/features/steps/shared/note.rb index 299cebe583f..e0ff52a7252 100644 --- a/features/steps/shared/note.rb +++ b/features/steps/shared/note.rb @@ -96,4 +96,10 @@ module SharedNote page.should have_css(".js-note-preview-button", visible: true) end end + + Then 'I should see comment "XML attached"' do + within(".note") do + page.should have_content("XML attached") + end + end end |