Commit 0cbb235c authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

fix incorrectly moved spinach step

parent 4403f71f
...@@ -15,10 +15,4 @@ class ProjectWall < Spinach::FeatureSteps ...@@ -15,10 +15,4 @@ class ProjectWall < Spinach::FeatureSteps
Then 'I should see project wall note "my special test message"' do Then 'I should see project wall note "my special test message"' do
page.should have_content "my special test message" page.should have_content "my special test message"
end end
Then 'I should see comment "XML attached"' do
within(".note") do
page.should have_content("XML attached")
end
end
end end
...@@ -96,4 +96,10 @@ module SharedNote ...@@ -96,4 +96,10 @@ module SharedNote
page.should have_css(".js-note-preview-button", visible: true) page.should have_css(".js-note-preview-button", visible: true)
end end
end end
Then 'I should see comment "XML attached"' do
within(".note") do
page.should have_content("XML attached")
end
end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment