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

Upstream #1678

Merged
merged 26 commits into from
Oct 29, 2018
Merged

Upstream #1678

merged 26 commits into from
Oct 29, 2018

Conversation

decabeza
Copy link

@decabeza decabeza commented Oct 20, 2018

Objectives

This PR sync this repo with some changes made on CONSUL repo including the following PRs:

Backport

Backport the last commit to fix houndci-bot warnings in the CONSUL repo too.


scenario "main navigation right" do
create(:site_customization_content_block, name: "subnavigation_right", locale: "en", body: "content for right links")
create(:site_customization_content_block, name: "subnavigation_right", locale: "es", body: "contenido para right links")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metrics/LineLength: Line is too long. [124/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)

end

scenario "main navigation right" do
create(:site_customization_content_block, name: "subnavigation_right", locale: "en", body: "content for right links")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metrics/LineLength: Line is too long. [121/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)


scenario "main navigation left" do
create(:site_customization_content_block, name: "subnavigation_left", locale: "en", body: "content for left links")
create(:site_customization_content_block, name: "subnavigation_left", locale: "es", body: "contenido para left links")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metrics/LineLength: Line is too long. [122/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)

@@ -30,4 +30,34 @@
expect(page).to have_content("contenido para footer")
expect(page).not_to have_content("content for footer")
end

scenario "main navigation left" do
create(:site_customization_content_block, name: "subnavigation_left", locale: "en", body: "content for left links")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metrics/LineLength: Line is too long. [119/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)

expect(page).to have_content "See results"
end

scenario "See results button does not appear for unfinished budgets" do

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RSpec/RepeatedDescription: Don't repeat descriptions within an example group. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/RepeatedDescription)
RSpec/RepeatedExample: Don't repeat examples within an example group. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/RepeatedExample)

@@ -50,7 +50,7 @@

click_link "Create new content block"

select "top_links", from: "site_customization_content_block_name"
select I18n.t("admin.site_customization.content_blocks.content_block.names.top_links"), from: "site_customization_content_block_name"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metrics/LineLength: Line is too long. [139/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)

@@ -27,7 +27,7 @@

click_link "Create new content block"

select "footer", from: "site_customization_content_block_name"
select I18n.t("admin.site_customization.content_blocks.content_block.names.footer"), from: "site_customization_content_block_name"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metrics/LineLength: Line is too long. [136/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)

visit admin_site_customization_information_texts_path

click_link 'Proposals'
expect(find("a[href=\"/admin/site_customization/information_texts?tab=proposals\"].is-active")).to have_content "Proposals"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metrics/LineLength: Line is too long. [127/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)

@@ -48,6 +48,13 @@
click_link 'Welcome'
expect(page).to have_content 'See all recommended debates'
end

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout/TrailingWhitespace: Trailing whitespace detected. (https://github.com/bbatsov/ruby-style-guide#no-trailing-whitespace)

@@ -1,5 +1,5 @@
class SiteCustomization::ContentBlock < ActiveRecord::Base
VALID_BLOCKS = %w(top_links footer)
VALID_BLOCKS = %w(top_links footer subnavigation_left subnavigation_right)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style/PercentLiteralDelimiters: %w-literals should be delimited by [ and ]. (https://github.com/bbatsov/ruby-style-guide#percent-literal-braces)

Copy link
Member

@voodoorai2000 voodoorai2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌🏻

Copy link
Member

@voodoorai2000 voodoorai2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌

MariaCheca and others added 22 commits October 29, 2018 14:20
Changes introduced in commits 41f66fa and dc87b75 will render the
'See results' button under `admin/budget_investments` only if a
finished budget has winner investments associated with it
Bumps [scss_lint](https://github.com/brigade/scss-lint) from 0.54.0 to 0.55.0.
- [Release notes](https://github.com/brigade/scss-lint/releases)
- [Changelog](https://github.com/brigade/scss-lint/blob/master/CHANGELOG.md)
- [Commits](sds/scss-lint@v0.54.0...v0.55.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Bumps [unicorn](https://bogomips.org/unicorn/) from 5.4.0 to 5.4.1.

Signed-off-by: dependabot[bot] <support@dependabot.com>
Bumps [rubyzip](https://github.com/rubyzip/rubyzip) from 1.2.1 to 1.2.2. **This update includes security fixes.**
- [Release notes](https://github.com/rubyzip/rubyzip/releases)
- [Changelog](https://github.com/rubyzip/rubyzip/blob/master/Changelog.md)
- [Commits](rubyzip/rubyzip@v1.2.1...v1.2.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Bumps [ffi](https://github.com/ffi/ffi) from 1.9.23 to 1.9.25. **This update includes security fixes.**
- [Release notes](https://github.com/ffi/ffi/releases)
- [Changelog](https://github.com/ffi/ffi/blob/master/CHANGELOG.md)
- [Commits](ffi/ffi@1.9.23...1.9.25)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.8.2 to 1.8.4. **This update includes security fixes.**
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md)
- [Commits](sparklemotion/nokogiri@v1.8.2...v1.8.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Bumps [savon](https://github.com/savonrb/savon) from 2.11.2 to 2.12.0.
- [Release notes](https://github.com/savonrb/savon/releases)
- [Changelog](https://github.com/savonrb/savon/blob/master/CHANGELOG.md)
- [Commits](savonrb/savon@v2.11.2...v2.12.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Bumps [autoprefixer-rails](https://github.com/ai/autoprefixer-rails) from 8.2.0 to 9.1.4.
- [Release notes](https://github.com/ai/autoprefixer-rails/releases)
- [Changelog](https://github.com/ai/autoprefixer-rails/blob/master/CHANGELOG.md)
- [Commits](ai/autoprefixer-rails@8.2.0...9.1.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Bumps [capistrano-rails](https://github.com/capistrano/rails) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/capistrano/rails/releases)
- [Changelog](https://github.com/capistrano/rails/blob/master/CHANGELOG.md)
- [Commits](capistrano/rails@v1.3.1...v1.4.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
dependabot-support and others added 4 commits October 29, 2018 14:20
Bumps [coveralls](https://coveralls.io) from 0.8.21 to 0.8.22.

Signed-off-by: dependabot[bot] <support@dependabot.com>
This reverts commit 1548c6bff31f0398a95e8cda28a4802ec1803d2e.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants