Merge pull request #5688 from consuldemocracy/proposal_ui_tests
Make "show proposal" tests pass on GitHub Actions
This commit is contained in:
@@ -3,7 +3,6 @@ FactoryBot.define do
|
||||
sequence(:title) { |n| "Proposal #{n} title" }
|
||||
sequence(:summary) { |n| "In summary, what we want is... #{n}" }
|
||||
description { "Proposal description" }
|
||||
video_url { "https://youtu.be/nhuNb0XtRhQ" }
|
||||
responsible_name { "John Snow" }
|
||||
terms_of_service { "1" }
|
||||
published_at { Time.current }
|
||||
|
||||
@@ -126,7 +126,7 @@ RSpec.configure do |config|
|
||||
|
||||
config.before(:each, :small_window) do
|
||||
@window_size = Capybara.current_window.size
|
||||
Capybara.current_window.resize_to(639, 479)
|
||||
Capybara.current_window.resize_to(320, 640)
|
||||
end
|
||||
|
||||
config.after(:each, :small_window) do
|
||||
|
||||
Reference in New Issue
Block a user