This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +2
-19
lines changed Expand file tree Collapse file tree 3 files changed +2
-19
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ Breaking Changes:
20
20
* Remove deprecated ` color ` configuration option. (Phil Pirozhkov, #2863 )
21
21
* Remove ` it_should_behave_like ` nested shared group method and
22
22
` alias_it_should_behave_like_to ` configuration option. (Phil Pirozhkov, #2863 )
23
+ * Remove deprecated ` treat_symbols_as_metadata_keys_with_true_values ` configuration
24
+ option. (Phil Pirozhkov, #2863 )
23
25
24
26
Enhancements:
25
27
Original file line number Diff line number Diff line change @@ -348,18 +348,6 @@ def exclude_pattern=(value)
348
348
# return [Boolean]
349
349
add_setting :silence_filter_announcements
350
350
351
- # @deprecated This config option was added in RSpec 2 to pave the way
352
- # for this being the default behavior in RSpec 3. Now this option is
353
- # a no-op.
354
- def treat_symbols_as_metadata_keys_with_true_values = ( _value )
355
- RSpec . deprecate (
356
- "RSpec::Core::Configuration#treat_symbols_as_metadata_keys_with_true_values=" ,
357
- :message => "RSpec::Core::Configuration#treat_symbols_as_metadata_keys_with_true_values= " \
358
- "is deprecated, it is now set to true as default and " \
359
- "setting it to false has no effect."
360
- )
361
- end
362
-
363
351
# Record the start time of the spec suite to measure load time.
364
352
# return [Time]
365
353
add_setting :start_time
Original file line number Diff line number Diff line change @@ -1583,13 +1583,6 @@ def metadata_hash(*args)
1583
1583
it_behaves_like "a spec filter" , :inclusion_filter
1584
1584
it_behaves_like "a spec filter" , :exclusion_filter
1585
1585
1586
- describe "#treat_symbols_as_metadata_keys_with_true_values=" do
1587
- it 'is deprecated' do
1588
- expect_deprecation_with_call_site ( __FILE__ , __LINE__ + 1 )
1589
- config . treat_symbols_as_metadata_keys_with_true_values = true
1590
- end
1591
- end
1592
-
1593
1586
describe "#full_backtrace=" do
1594
1587
it "doesn't impact other instances of config" do
1595
1588
config_1 = Configuration . new
You can’t perform that action at this time.
0 commit comments