fix wall feature. removed duplicated test

This commit is contained in:
Dmitriy Zaporozhets 2013-03-19 14:58:58 +02:00
parent ba4f0abf47
commit 063c4a069c
4 changed files with 19 additions and 63 deletions

View file

@ -3,4 +3,22 @@ class ProjectWall < Spinach::FeatureSteps
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
Then 'I should see comment "XML attached"' do
within(".note") do
page.should have_content("XML attached")
end
end
end