You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.
At Envoy we are using rack-jekyll to test our jekyll site with RSpec and Capybara. We want to build the site every time we run the tests and put it on an specific directory (if it doesn't exist already). But building the site takes some time and as it's running on a separate thread by the time we run RSspec and Capybara tests the site isn't ready.
spec_helper.rb
require'rspec'require'capybara/rspec'require'rack/jekyll'require'rack/test'WebMock.allow_net_connect!RSpec.configuredo |config|
# ...# Configure Capybara to load the website through rack-jekyll.# (force_build: true) builds the site before the tests are run,# so our tests are always running against the latest version# of our jekyll site.Capybara.app=Rack::Jekyll.new(force_build: true,config: '_test_config.yml')end
The text was updated successfully, but these errors were encountered:
Hello and thank you for this project.
At Envoy we are using
rack-jekyll
to test ourjekyll
site with RSpec and Capybara. We want to build the site every time we run the tests and put it on an specific directory (if it doesn't exist already). But building the site takes some time and as it's running on a separate thread by the time we run RSspec and Capybara tests the site isn't ready.spec_helper.rb
The text was updated successfully, but these errors were encountered: