Skip to content

Commit 0aef818

Browse files
committed
Allow running integration/adapter specs with split_values plugin using SEQUEL_SPLIT_VALUES
1 parent 81d2814 commit 0aef818

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

doc/testing.rdoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ SEQUEL_QUERY_PER_ASSOCIATION_DB_1_URL :: Run query-per-association integration t
203203
SEQUEL_QUERY_PER_ASSOCIATION_DB_2_URL :: Run query-per-association integration tests with multiple databases (all 4 must be set to run)
204204
SEQUEL_QUERY_PER_ASSOCIATION_DB_3_URL :: Run query-per-association integration tests with multiple databases (all 4 must be set to run)
205205
SEQUEL_SPLIT_SYMBOLS :: Turn on symbol splitting when running the adapter and integration specs
206+
SEQUEL_SPLIT_VALUES :: Use the split_values plugin when running the specs
206207
SEQUEL_SYNCHRONIZE_SQL :: Use the synchronize_sql extension when running the specs
207208
SEQUEL_TRANSACTION_CONNECTION_VALIDATOR :: Use the transaction_connection_validator extension when running the adapter/integration specs
208209
SEQUEL_TZINFO_VERSION :: Force the given tzinfo version when running the specs (e.g. '>=2')

spec/adapters/spec_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
Sequel::Model.plugin :prepared_statements if ENV['SEQUEL_MODEL_PREPARED_STATEMENTS']
2323
Sequel::Model.plugin :throw_failures if ENV['SEQUEL_MODEL_THROW_FAILURES']
2424
Sequel::Model.plugin :primary_key_lookup_check_values if ENV['SEQUEL_PRIMARY_KEY_LOOKUP_CHECK_VALUES']
25+
Sequel::Model.plugin :split_values if ENV["SEQUEL_SPLIT_VALUES"]
2526
Sequel::Model.use_transactions = false
2627
Sequel::Model.cache_anonymous_models = false
2728

0 commit comments

Comments
 (0)