Created
March 2, 2019 13:45
-
-
Save amalrik/e1b27c69c75dbbeb55b6c5a41e304c74 to your computer and use it in GitHub Desktop.
Using Page Object Pattern in rspec - adding dependecies
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
class NewPostForm | |
include Capybara::DSL | |
include FactoryBot::Syntax::Methods | |
include Warden::Test::Helpers | |
include Rails.application.routes.url_helpers | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment