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

SRCH-2315 remove mobile-fu gem & related logic #740

Merged

Conversation

MothOnMars
Copy link
Contributor

@MothOnMars MothOnMars commented Jun 10, 2021

SRCH-2315 remove mobile-fu gem & related logic

  • replace custom "mobile" format with "html"
  • remove remaining "force_mobile_format" logic
  • remove deprecated parameters from permitted list
  • remove or update tests
  • remove or update VCR cassettes

@MothOnMars MothOnMars force-pushed the mobile_fu_2315 branch 2 times, most recently from ad950a8 to 674e937 Compare June 11, 2021 13:24
@MothOnMars MothOnMars changed the title Mobile fu 2315 SRCH-2315 remove mobile-fu gem & related logic Jun 11, 2021
- replace custom "mobile" format with "html"
- remove remaining "force_mobile_format" logic
- remove deprecated parameters from permitted list
- remove or update tests
- remove or update VCR cassettes
@MothOnMars MothOnMars marked this pull request as ready for review June 11, 2021 13:46
Comment on lines -143 to +121
it 'should serialize an error into JSON' do
expect(response.body).to match(/error/)
expect(response.body).to match(/#{I18n.translate :too_long}/)
it 'serializes an error into JSON' do
parsed_response = JSON.parse(response.body)
expect(parsed_response['error']).to match(/Please enter a search term/)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had to update the expectation in this spec as the ImageSearch class does not have the limitation on the query length that the LegacyImageSearch did.

@jmax-fearless
Copy link
Contributor

LGTM

@MothOnMars MothOnMars merged commit f099343 into GSA:feature/remove_legacy_serp_368 Jun 15, 2021
@MothOnMars MothOnMars deleted the mobile_fu_2315 branch June 15, 2021 13:30
MothOnMars added a commit that referenced this pull request Aug 19, 2021
* SRCH-243 SRCH-1525 SRCH-2109 remove legacy SERP code (#736)
- remove legacy views, helpers & click-tracking code
- remove "Compare Search Results" super admin feature
- remove advanced-firstgov logic
- remove deprecated or duplicated features
- remove legacy seed & fixtures
- remove legacy spec & feature helpers
- redirect video news search path to search path
- disable duplication check for specs

* SRCH-2315 remove mobile-fu gem & related logic (#740)
- replace custom "mobile" format with "html"
- remove remaining "force_mobile_format" logic
- remove deprecated parameters from permitted list
- remove or update tests
- remove or update VCR cassettes

* SRCH-2108 remove bcrypt-ruby gem (#741)

* SRCH-2314 remove legacy search classes (#747)

* SRCH-2106 remove legacy assets (#750)
- update asset-related gems

* SRCH-2111 remove additional legacy SERP code (#751)
- remove unused image assets and stylesheets
- removed unused cucumber helpers

* SRCH-2378 update addressable to 2.8.0 (#760)
- bundle update gems

* SRCH-2423 return assets used for affiliate type-ahead (#763)
@MyNameIsMissing MyNameIsMissing mentioned this pull request Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants