Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update overrides and customizations tests #446

Merged
merged 1 commit into from
Sep 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions spec/features/overrides_and_customizations_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,28 @@
require "rails_helper"

describe "Overrides and customizations" do
it "remove config/initializers/doorkeeper.rb and remove translations in admin.yml and surveys.yml after Decidim v0.28" do
# rubocop: disable RSpec/RepeatedExample
it "Remove config/initializers/doorkeeper.rb and remove translations in admin.yml and surveys.yml after Decidim v0.28" do
# > remove config/initializers/doorkeeper.rb as it is already configured in that version
expect(Decidim.version).to be < "0.28"
end

it "Admin and Surveys must have multiple translations that need to be removed" do
# > xx_admin.yml and xx_surveys.yml have multiple translations that
# need to be removed if PR https://github.com/decidim/decidim/pull/11450/files gets merged into v0.28
# > check and remove config/initializers/webpacker.rb
expect(Decidim.version).to be < "0.28"
end

it "Check and remove config/initializers/webpacker.rb" do
expect(Decidim.version).to be < "0.28"
end

it "Make sure improvements in surveys have been merged" do
# > make sure that PRs
# - https://github.com/decidim/decidim/pull/11423
# - https://github.com/decidim/decidim/pull/11450
# have been backported to 0.28, otherwise we will need to do the backport in our fork
expect(Decidim.version).to be < "0.28"
end
# rubocop: enable RSpec/RepeatedExample
end
Loading