Attempt to fix intermittent failures in spec/features/consumer/authentication_spec.rb

This commit is contained in:
Rohan Mitchell
2015-05-29 09:44:57 +10:00
parent 7486daa2a3
commit 835b56b222

View File

@@ -3,6 +3,11 @@ require 'spec_helper'
feature "Authentication", js: true do
include UIComponentHelper
# Attempt to address intermittent failures in these specs
around do |example|
Capybara.using_wait_time(120) { example.run }
end
describe "login" do
let(:user) { create(:user, password: "password", password_confirmation: "password") }