Skip to content

Commit

Permalink
Merge pull request #446 from gencat/test/update_customizations_and_ov…
Browse files Browse the repository at this point in the history
…errides_tests

Update overrides and customizations tests
  • Loading branch information
laurajaime authored Sep 18, 2023
2 parents 7b4c4c1 + c582352 commit 84be38b
Showing 1 changed file with 19 additions and 2 deletions.
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

0 comments on commit 84be38b

Please sign in to comment.