Created
May 18, 2016 10:00
-
-
Save yukas/0528da4583c0ccf0497278b2f3cf732e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RSpec::Matchers.define :login_successfully do | |
match do |login_page| | |
expect(login_page.page).to have_content "Successfully logged in." | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment