wall.rb 476 字节
Newer Older
N
Nihad Abbasov 已提交
1 2 3 4 5
class ProjectWall < Spinach::FeatureSteps
  include SharedAuthentication
  include SharedProject
  include SharedNote
  include SharedPaths
6 7 8 9 10 11 12 13 14 15 16 17


  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
N
Nihad Abbasov 已提交
18
end