Commit 0cbb235c3e74aa5dd716cdf9ab06db779f6166e8

Authored by Dmitriy Zaporozhets
1 parent 4403f71f

fix incorrectly moved spinach step

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
... ...