Commit Graph

19 Commits

Author SHA1 Message Date
Akira Matsuda acbcbc8beb Format 2018-11-11 13:04:43 +09:00
Akira Matsuda 23e4737720 Rails 5.2 seems to be requiring the apps to have a concrete name
or it dies here https://github.com/rails/rails/blob/4e6774ee/railties/lib/rails/application.rb#L425
2017-10-13 18:24:15 +09:00
Akira Matsuda 762e0d3d1f Configure test .sqlite3 filename in absolute path 2017-06-29 20:30:51 +09:00
Akira Matsuda 6bfe383e08 Rails.root may not always be available
e.g. Sinatra tests
2017-06-29 18:48:51 +09:00
Akira Matsuda 93136e02fe MySQL quotes with ``, not "" 2017-06-03 05:55:10 +09:00
Akira Matsuda 7f997c7f42 Give AR#group an Array instead of a comma separated String 2017-06-03 00:53:19 +09:00
Akira Matsuda f39c63438c And also on MySQL 2017-06-02 19:59:11 +09:00
Akira Matsuda 32abd344a7 Tests can be run on PostgreSQL now 2017-06-02 19:57:50 +09:00
Akira Matsuda 48c0d14b2b Let the RDBMS specifiable via envvar 2017-06-02 19:23:37 +09:00
Akira Matsuda f1823b8075 Refresh DB before running test suites 2017-06-02 19:18:35 +09:00
Akira Matsuda d4c2184cf9 Configure database via database.yml 2017-06-02 19:18:35 +09:00
Akira Matsuda 1ccdaabac4 Use physical .sqlite3 file instead of in-memory DB 2017-06-02 19:18:35 +09:00
Akira Matsuda 070a9a8159 Simpler AR configuration
because Rails.env isn't always 'test' (unless explicitly given)
2017-05-18 18:34:32 +09:00
Akira Matsuda 66a0d50baf "Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for" 2017-01-06 22:49:55 +09:00
Akira Matsuda b2b4c01fa5 Make sure that link_to_{previous,next}_page work for every view adapter 2016-11-23 20:16:37 +09:00
Akira Matsuda 8b9e5382ef Make sure that page_entries_info works for every view adapter 2016-11-23 20:10:28 +09:00
Akira Matsuda a306b123f1 -> 2016-11-23 12:21:46 +09:00
Akira Matsuda 721654ca75 #️⃣ 🚀 🔞 2016-11-22 22:16:57 +09:00
Akira Matsuda f33e2566a6 RSpec => Test/Unit 2016-11-22 21:52:33 +09:00