Implements feature test for proposal workflog

- submitt proposal
- accept proposal
- confirm proposal
This commit is contained in:
Chrisbr 2014-05-13 15:45:39 +02:00
parent 147310b8b7
commit 656ded9d96
6 changed files with 73 additions and 19 deletions

View file

@ -8,4 +8,10 @@ module LoginMacros
expect(page.has_content?('Signed in successfully')).to be true
end
def sign_out
Capybara.current_session.driver.browser.clear_cookies
visit root_path
expect(page.has_content?('Sign In')).to be true
end
end