1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00
Commit graph

11 commits

Author SHA1 Message Date
Kapil Sachdev
b7e02184d9 fix(rubocop): Fix Layout/LineLength
- bump rubocop to v1.0
- Fix Layout/MultilineAssignmentLayout and other remaining offences
- Exculde appraisal generated gemfiles in rubocop
- Replace NON_NUMERIC_VALUE constant with instance method against 
failing test case in  rails <= 5.1 and postgres adapter.
This is a defect in rails where a frozen string is modified in 
https://github.com/rails/rails/blob/v5.1.7/activerecord/lib/active_record/connection_adapters/postgresql/oid/money.rb#L25
2020-11-03 10:05:25 -07:00
Kapil Sachdev
97722f67cb fix(rubocop): Satisfy Style/StringLiterals with single_quotes [ci skip] 2020-11-03 10:05:25 -07:00
Kapil Sachdev
fddf43c057 fix(rubocop): Rearrange gems for Bundler/OrderedGems [ci skip] 2020-11-03 10:05:25 -07:00
Kapil Sachdev
278a381ae8 fix(docs): Migrate to rouge [ci skip] 2020-09-01 09:20:16 -06:00
Elliot Winkler
412ea1f936 Use warnings_logger instead of warnings_spy
`warnings_spy` was a little library I wrote to report warnings that came
up during test runs and fail the CI build. A while back I extracted it
to `warnings_logger`, so the version that exists here is obsolete.
2020-08-23 22:58:51 -06:00
Gui Vieira
d97bdd6cab
Update test versions and dependencies (#1269) 2020-01-01 12:20:50 -08:00
Vít Ondruch
984ce7340b Remove minitest reporters (#1251) 2019-11-18 18:45:13 -08:00
Elliot Winkler
d77cba3521 Update Rubocop across Appraisals 2019-06-09 12:19:21 -06:00
Elliot Winkler
ae9bf4a735 Add minimal support for Rails 6
* Add Rails 6 appraisal to start testing against it.
* Fix usage of Module#parent as this is deprecated in Rails 6 in favor
  of Module#module_parent.
* Ensure that we're using the correct version of `sqlite3` and `pg` at
  all times
* When creating classes within tests, ensure that they are removed
  correctly
* Fix detection of has_secure_password in models: Check that
  InstanceMethodsOnActivation is specifically defined, as Rails 6 no
  longer has such a module.

Co-authored-by: Lee Machin <me@mrl.ee>
2019-04-22 00:10:18 -04:00
Elliot Winkler
3635df7054 Update all existing versions of Rails 2019-03-21 00:10:00 -07:00
Elliot Winkler
b3d6489546 Rename appraisals to match shoulda / shoulda-context 2019-03-20 22:47:03 -07:00
Renamed from gemfiles/5.2.gemfile (Browse further)