shoulda-matchers 2.7.0 → 2.8.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +13 -3
- data/Appraisals +18 -0
- data/CONTRIBUTING.md +13 -29
- data/Gemfile +1 -4
- data/Gemfile.lock +2 -10
- data/NEWS.md +100 -14
- data/README.md +62 -58
- data/Rakefile +9 -16
- data/gemfiles/3.0.gemfile +11 -12
- data/gemfiles/3.0.gemfile.lock +15 -10
- data/gemfiles/3.1.gemfile +11 -12
- data/gemfiles/3.1.gemfile.lock +14 -10
- data/gemfiles/3.1_1.9.2.gemfile +12 -11
- data/gemfiles/3.1_1.9.2.gemfile.lock +14 -3
- data/gemfiles/3.2.gemfile +11 -12
- data/gemfiles/3.2.gemfile.lock +15 -10
- data/gemfiles/3.2_1.9.2.gemfile +12 -11
- data/gemfiles/3.2_1.9.2.gemfile.lock +14 -2
- data/gemfiles/4.0.0.gemfile +10 -12
- data/gemfiles/4.0.0.gemfile.lock +13 -10
- data/gemfiles/4.0.1.gemfile +10 -12
- data/gemfiles/4.0.1.gemfile.lock +13 -10
- data/gemfiles/4.1.gemfile +13 -15
- data/gemfiles/4.1.gemfile.lock +45 -50
- data/gemfiles/4.2.gemfile +36 -0
- data/gemfiles/4.2.gemfile.lock +245 -0
- data/lib/shoulda/matchers.rb +3 -1
- data/lib/shoulda/matchers/action_controller.rb +1 -1
- data/lib/shoulda/matchers/action_controller/redirect_to_matcher.rb +1 -1
- data/lib/shoulda/matchers/action_controller/route_params.rb +9 -4
- data/lib/shoulda/matchers/action_controller/{set_the_flash_matcher.rb → set_flash_matcher.rb} +34 -26
- data/lib/shoulda/matchers/action_controller/set_session_matcher.rb +125 -69
- data/lib/shoulda/matchers/active_model.rb +1 -2
- data/lib/shoulda/matchers/active_model/allow_value_matcher.rb +18 -5
- data/lib/shoulda/matchers/active_model/exception_message_finder.rb +2 -2
- data/lib/shoulda/matchers/active_model/helpers.rb +4 -4
- data/lib/shoulda/matchers/active_model/validate_confirmation_of_matcher.rb +10 -3
- data/lib/shoulda/matchers/active_model/validate_exclusion_of_matcher.rb +1 -1
- data/lib/shoulda/matchers/active_model/validate_inclusion_of_matcher.rb +3 -1
- data/lib/shoulda/matchers/active_model/{ensure_length_of_matcher.rb → validate_length_of_matcher.rb} +30 -20
- data/lib/shoulda/matchers/active_model/validate_presence_of_matcher.rb +21 -0
- data/lib/shoulda/matchers/active_model/validation_message_finder.rb +2 -2
- data/lib/shoulda/matchers/active_record.rb +2 -0
- data/lib/shoulda/matchers/active_record/association_matcher.rb +96 -2
- data/lib/shoulda/matchers/active_record/association_matchers/join_table_matcher.rb +1 -1
- data/lib/shoulda/matchers/active_record/association_matchers/model_reflection.rb +3 -3
- data/lib/shoulda/matchers/active_record/association_matchers/option_verifier.rb +22 -2
- data/lib/shoulda/matchers/active_record/have_db_column_matcher.rb +30 -4
- data/lib/shoulda/matchers/active_record/serialize_matcher.rb +19 -3
- data/lib/shoulda/matchers/active_record/uniqueness.rb +14 -0
- data/lib/shoulda/matchers/active_record/uniqueness/model.rb +45 -0
- data/lib/shoulda/matchers/active_record/uniqueness/namespace.rb +36 -0
- data/lib/shoulda/matchers/active_record/uniqueness/test_model_creator.rb +50 -0
- data/lib/shoulda/matchers/active_record/uniqueness/test_models.rb +24 -0
- data/lib/shoulda/matchers/{active_model → active_record}/validate_uniqueness_of_matcher.rb +76 -16
- data/lib/shoulda/matchers/independent/delegate_method_matcher.rb +117 -51
- data/lib/shoulda/matchers/independent/delegate_method_matcher/target_not_defined_error.rb +1 -1
- data/lib/shoulda/matchers/matcher_context.rb +35 -0
- data/lib/shoulda/matchers/rails_shim.rb +23 -0
- data/lib/shoulda/matchers/util.rb +28 -0
- data/lib/shoulda/matchers/version.rb +1 -1
- data/script/SUPPORTED_VERSIONS +1 -1
- data/spec/acceptance/active_model_integration_spec.rb +20 -0
- data/spec/acceptance/independent_matchers_spec.rb +64 -0
- data/spec/acceptance/rails_integration_spec.rb +142 -0
- data/spec/acceptance_spec_helper.rb +23 -0
- data/spec/support/acceptance/helpers.rb +29 -0
- data/spec/support/acceptance/helpers/active_model_helpers.rb +11 -0
- data/spec/support/acceptance/helpers/array_helpers.rb +13 -0
- data/spec/support/acceptance/helpers/base_helpers.rb +14 -0
- data/spec/support/acceptance/helpers/command_helpers.rb +51 -0
- data/spec/support/acceptance/helpers/file_helpers.rb +19 -0
- data/spec/support/acceptance/helpers/gem_helpers.rb +31 -0
- data/spec/support/acceptance/helpers/minitest_helpers.rb +19 -0
- data/spec/support/acceptance/helpers/pluralization_helpers.rb +13 -0
- data/spec/support/acceptance/helpers/rails_version_helpers.rb +11 -0
- data/spec/support/acceptance/helpers/rspec_helpers.rb +26 -0
- data/spec/support/acceptance/helpers/ruby_version_helpers.rb +9 -0
- data/spec/support/acceptance/helpers/step_helpers.rb +117 -0
- data/spec/support/acceptance/matchers/have_output.rb +31 -0
- data/spec/support/acceptance/matchers/indicate_number_of_tests_was_run_matcher.rb +55 -0
- data/spec/support/acceptance/matchers/indicate_that_tests_were_run_matcher.rb +103 -0
- data/spec/support/tests/bundle.rb +94 -0
- data/spec/support/tests/command_runner.rb +214 -0
- data/spec/support/tests/filesystem.rb +77 -0
- data/spec/support/tests/version.rb +45 -0
- data/spec/support/unit/capture.rb +34 -0
- data/spec/support/unit/helpers/active_model_helpers.rb +25 -0
- data/spec/support/unit/helpers/active_model_versions.rb +20 -0
- data/spec/support/unit/helpers/active_resource_builder.rb +27 -0
- data/spec/support/unit/helpers/allow_value_matcher_helpers.rb +15 -0
- data/spec/support/unit/helpers/class_builder.rb +72 -0
- data/spec/support/unit/helpers/confirmation_matcher_helpers.rb +17 -0
- data/spec/support/unit/helpers/controller_builder.rb +91 -0
- data/spec/support/unit/helpers/i18n_faker.rb +15 -0
- data/spec/support/unit/helpers/mailer_builder.rb +12 -0
- data/spec/support/unit/helpers/model_builder.rb +102 -0
- data/spec/support/unit/helpers/rails_versions.rb +28 -0
- data/spec/support/unit/i18n.rb +7 -0
- data/spec/support/unit/matchers/deprecate.rb +60 -0
- data/spec/support/unit/matchers/fail_with_message_including_matcher.rb +50 -0
- data/spec/support/unit/matchers/fail_with_message_matcher.rb +50 -0
- data/spec/support/unit/matchers/print_warning_including.rb +59 -0
- data/spec/support/unit/rails_application.rb +110 -0
- data/spec/support/unit/record_builder_with_i18n_validation_message.rb +69 -0
- data/spec/support/unit/record_validating_confirmation_builder.rb +56 -0
- data/spec/support/unit/record_with_different_error_attribute_builder.rb +92 -0
- data/spec/support/{shared_examples → unit/shared_examples}/numerical_submatcher.rb +0 -2
- data/spec/support/{shared_examples → unit/shared_examples}/numerical_type_submatcher.rb +0 -2
- data/spec/{shoulda → unit/shoulda}/matchers/action_controller/callback_matcher_spec.rb +2 -2
- data/spec/{shoulda → unit/shoulda}/matchers/action_controller/filter_param_matcher_spec.rb +2 -2
- data/spec/{shoulda → unit/shoulda}/matchers/action_controller/redirect_to_matcher_spec.rb +3 -3
- data/spec/{shoulda → unit/shoulda}/matchers/action_controller/render_template_matcher_spec.rb +2 -4
- data/spec/{shoulda → unit/shoulda}/matchers/action_controller/render_with_layout_matcher_spec.rb +9 -6
- data/spec/{shoulda → unit/shoulda}/matchers/action_controller/rescue_from_matcher_spec.rb +2 -2
- data/spec/{shoulda → unit/shoulda}/matchers/action_controller/respond_with_matcher_spec.rb +2 -2
- data/spec/unit/shoulda/matchers/action_controller/route_matcher_spec.rb +126 -0
- data/spec/{shoulda → unit/shoulda}/matchers/action_controller/route_params_spec.rb +2 -2
- data/spec/unit/shoulda/matchers/action_controller/set_flash_matcher_spec.rb +167 -0
- data/spec/unit/shoulda/matchers/action_controller/set_session_matcher_spec.rb +294 -0
- data/spec/{shoulda → unit/shoulda}/matchers/action_controller/strong_parameters_matcher_spec.rb +19 -11
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/allow_mass_assignment_of_matcher_spec.rb +2 -2
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/allow_value_matcher_spec.rb +49 -21
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/disallow_value_matcher_spec.rb +8 -4
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/exception_message_finder_spec.rb +4 -4
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/have_secure_password_matcher_spec.rb +2 -2
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/helpers_spec.rb +7 -3
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/numericality_matchers/comparison_matcher_spec.rb +1 -1
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/numericality_matchers/even_number_matcher_spec.rb +1 -1
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/numericality_matchers/odd_number_matcher_spec.rb +1 -1
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/numericality_matchers/only_integer_matcher_spec.rb +1 -1
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/validate_absence_of_matcher_spec.rb +3 -3
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/validate_acceptance_of_matcher_spec.rb +2 -2
- data/spec/unit/shoulda/matchers/active_model/validate_confirmation_of_matcher_spec.rb +63 -0
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/validate_exclusion_of_matcher_spec.rb +5 -4
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/validate_inclusion_of_matcher_spec.rb +7 -14
- data/spec/{shoulda/matchers/active_model/ensure_length_of_matcher_spec.rb → unit/shoulda/matchers/active_model/validate_length_of_matcher_spec.rb} +43 -23
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/validate_numericality_of_matcher_spec.rb +3 -4
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/validate_presence_of_matcher_spec.rb +3 -3
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/validate_uniqueness_of_matcher_spec.rb +127 -2
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/validation_message_finder_spec.rb +8 -6
- data/spec/{shoulda → unit/shoulda}/matchers/active_record/accept_nested_attributes_for_matcher_spec.rb +2 -2
- data/spec/{shoulda → unit/shoulda}/matchers/active_record/association_matcher_spec.rb +217 -26
- data/spec/{shoulda → unit/shoulda}/matchers/active_record/association_matchers/model_reflection_spec.rb +2 -2
- data/spec/{shoulda → unit/shoulda}/matchers/active_record/define_enum_for_matcher_spec.rb +2 -2
- data/spec/{shoulda → unit/shoulda}/matchers/active_record/have_db_column_matcher_spec.rb +2 -2
- data/spec/{shoulda → unit/shoulda}/matchers/active_record/have_db_index_matcher_spec.rb +8 -5
- data/spec/{shoulda → unit/shoulda}/matchers/active_record/have_readonly_attributes_matcher_spec.rb +2 -2
- data/spec/{shoulda → unit/shoulda}/matchers/active_record/serialize_matcher_spec.rb +3 -3
- data/spec/{shoulda → unit/shoulda}/matchers/doublespeak/double_collection_spec.rb +29 -7
- data/spec/{shoulda → unit/shoulda}/matchers/doublespeak/double_implementation_registry_spec.rb +1 -1
- data/spec/{shoulda → unit/shoulda}/matchers/doublespeak/double_spec.rb +20 -10
- data/spec/{shoulda → unit/shoulda}/matchers/doublespeak/object_double_spec.rb +1 -1
- data/spec/{shoulda → unit/shoulda}/matchers/doublespeak/proxy_implementation_spec.rb +13 -6
- data/spec/{shoulda → unit/shoulda}/matchers/doublespeak/stub_implementation_spec.rb +2 -2
- data/spec/unit/shoulda/matchers/doublespeak/world_spec.rb +77 -0
- data/spec/{shoulda → unit/shoulda}/matchers/doublespeak_spec.rb +11 -3
- data/spec/{shoulda → unit/shoulda}/matchers/independent/delegate_method_matcher/stubbed_target_spec.rb +1 -1
- data/spec/unit/shoulda/matchers/independent/delegate_method_matcher_spec.rb +517 -0
- data/spec/unit_spec_helper.rb +66 -0
- data/spec/warnings_spy/partitioner.rb +10 -3
- data/spec/warnings_spy/reader.rb +9 -20
- data/spec/warnings_spy/reporter.rb +2 -1
- metadata +212 -149
- data/features/activemodel_integration.feature +0 -15
- data/features/rails_integration.feature +0 -160
- data/features/step_definitions/activemodel_steps.rb +0 -21
- data/features/step_definitions/rails_steps.rb +0 -227
- data/features/support/env.rb +0 -6
- data/spec/shoulda/matchers/action_controller/route_matcher_spec.rb +0 -70
- data/spec/shoulda/matchers/action_controller/set_session_matcher_spec.rb +0 -113
- data/spec/shoulda/matchers/action_controller/set_the_flash_matcher_spec.rb +0 -153
- data/spec/shoulda/matchers/active_model/validate_confirmation_of_matcher_spec.rb +0 -47
- data/spec/shoulda/matchers/doublespeak/world_spec.rb +0 -70
- data/spec/shoulda/matchers/independent/delegate_method_matcher_spec.rb +0 -309
- data/spec/spec_helper.rb +0 -42
- data/spec/support/active_model_versions.rb +0 -13
- data/spec/support/active_resource_builder.rb +0 -29
- data/spec/support/activemodel_helpers.rb +0 -23
- data/spec/support/capture_helpers.rb +0 -19
- data/spec/support/class_builder.rb +0 -46
- data/spec/support/controller_builder.rb +0 -102
- data/spec/support/fail_with_message_including_matcher.rb +0 -44
- data/spec/support/fail_with_message_matcher.rb +0 -44
- data/spec/support/i18n_faker.rb +0 -10
- data/spec/support/mailer_builder.rb +0 -10
- data/spec/support/model_builder.rb +0 -81
- data/spec/support/rails_versions.rb +0 -26
- data/spec/support/test_application.rb +0 -120
@@ -0,0 +1,66 @@
|
|
1
|
+
require File.expand_path('../support/unit/rails_application', __FILE__)
|
2
|
+
|
3
|
+
def monkey_patch_minitest_to_do_nothing
|
4
|
+
# Rails 3.1's test_help file requires Turn, which loads Minitest in autorun
|
5
|
+
# mode. This means that Minitest tests will run after these RSpec tests are
|
6
|
+
# finished running. This will break on CI since we pass --color to the `rspec`
|
7
|
+
# command.
|
8
|
+
|
9
|
+
if defined?(MiniTest)
|
10
|
+
MiniTest::Unit.class_eval do
|
11
|
+
def run(*); end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
$test_app = UnitTests::RailsApplication.new
|
17
|
+
$test_app.create
|
18
|
+
$test_app.load
|
19
|
+
|
20
|
+
monkey_patch_minitest_to_do_nothing
|
21
|
+
|
22
|
+
ENV['BUNDLE_GEMFILE'] ||= app.gemfile_path
|
23
|
+
ENV['RAILS_ENV'] = 'test'
|
24
|
+
|
25
|
+
require 'rspec/rails'
|
26
|
+
require 'shoulda-matchers'
|
27
|
+
|
28
|
+
PROJECT_ROOT = File.expand_path('../..', __FILE__)
|
29
|
+
$LOAD_PATH << File.join(PROJECT_ROOT, 'lib')
|
30
|
+
|
31
|
+
Dir[ File.join(File.expand_path('../support/unit/**/*.rb', __FILE__)) ].sort.each do |file|
|
32
|
+
require file
|
33
|
+
end
|
34
|
+
|
35
|
+
RSpec.configure do |config|
|
36
|
+
config.order = :random
|
37
|
+
|
38
|
+
config.expect_with :rspec do |c|
|
39
|
+
c.syntax = :expect
|
40
|
+
end
|
41
|
+
|
42
|
+
config.mock_with :rspec
|
43
|
+
|
44
|
+
if config.respond_to?(:infer_spec_type_from_file_location!)
|
45
|
+
config.infer_spec_type_from_file_location!
|
46
|
+
end
|
47
|
+
|
48
|
+
config.before(:all, type: :controller) do
|
49
|
+
self.class.controller(ApplicationController) { }
|
50
|
+
end
|
51
|
+
|
52
|
+
UnitTests::ActiveModelHelpers.configure_example_group(config)
|
53
|
+
UnitTests::ActiveModelVersions.configure_example_group(config)
|
54
|
+
UnitTests::ActiveResourceBuilder.configure_example_group(config)
|
55
|
+
UnitTests::ClassBuilder.configure_example_group(config)
|
56
|
+
UnitTests::ControllerBuilder.configure_example_group(config)
|
57
|
+
UnitTests::I18nFaker.configure_example_group(config)
|
58
|
+
UnitTests::MailerBuilder.configure_example_group(config)
|
59
|
+
UnitTests::ModelBuilder.configure_example_group(config)
|
60
|
+
UnitTests::RailsVersions.configure_example_group(config)
|
61
|
+
|
62
|
+
config.include UnitTests::Matchers
|
63
|
+
end
|
64
|
+
|
65
|
+
ActiveSupport::Deprecation.behavior = :stderr
|
66
|
+
$VERBOSE = true
|
@@ -13,9 +13,7 @@ class WarningsSpy
|
|
13
13
|
|
14
14
|
def partition
|
15
15
|
@relevant_warning_groups, @irrelevant_warning_groups =
|
16
|
-
warning_groups.partition
|
17
|
-
group.any? { |line| line.include?(search_text) }
|
18
|
-
end
|
16
|
+
warning_groups.partition { |group| relevant_warnings?(group) }
|
19
17
|
end
|
20
18
|
|
21
19
|
protected
|
@@ -25,5 +23,14 @@ class WarningsSpy
|
|
25
23
|
private
|
26
24
|
|
27
25
|
def_delegators :reader, :warning_groups
|
26
|
+
|
27
|
+
def relevant_warnings?(group)
|
28
|
+
first_line = group[0]
|
29
|
+
first_line.start_with?("#{project_root}/lib")
|
30
|
+
end
|
31
|
+
|
32
|
+
def project_root
|
33
|
+
File.expand_path('../../..')
|
34
|
+
end
|
28
35
|
end
|
29
36
|
end
|
data/spec/warnings_spy/reader.rb
CHANGED
@@ -5,7 +5,6 @@ class WarningsSpy
|
|
5
5
|
def initialize(filesystem)
|
6
6
|
@warnings_file = filesystem.warnings_file
|
7
7
|
|
8
|
-
@recording = false
|
9
8
|
@current_group = []
|
10
9
|
@warning_groups = []
|
11
10
|
end
|
@@ -27,22 +26,20 @@ class WarningsSpy
|
|
27
26
|
private
|
28
27
|
|
29
28
|
def process_line(line)
|
30
|
-
if
|
31
|
-
current_group
|
32
|
-
|
33
|
-
|
34
|
-
add_group(current_group)
|
35
|
-
current_group.clear
|
36
|
-
end
|
29
|
+
if start_of_group?(line)
|
30
|
+
add_group(current_group)
|
31
|
+
@current_group = []
|
32
|
+
end
|
37
33
|
|
38
|
-
|
34
|
+
current_group << line
|
35
|
+
end
|
39
36
|
|
40
|
-
|
41
|
-
|
37
|
+
def start_of_group?(line)
|
38
|
+
line =~ /^\S/
|
42
39
|
end
|
43
40
|
|
44
41
|
def add_group(group)
|
45
|
-
unless group_already_added?(group)
|
42
|
+
unless group.empty? || group_already_added?(group)
|
46
43
|
warning_groups << group
|
47
44
|
end
|
48
45
|
end
|
@@ -52,13 +49,5 @@ class WarningsSpy
|
|
52
49
|
group == group_to_be_added
|
53
50
|
end
|
54
51
|
end
|
55
|
-
|
56
|
-
def backtrace_line?(line)
|
57
|
-
line =~ /^\s+/
|
58
|
-
end
|
59
|
-
|
60
|
-
def recording?
|
61
|
-
@recording
|
62
|
-
end
|
63
52
|
end
|
64
53
|
end
|
@@ -26,7 +26,8 @@ class WarningsSpy
|
|
26
26
|
|
27
27
|
private
|
28
28
|
|
29
|
-
def_delegators :partitioner, :relevant_warning_groups,
|
29
|
+
def_delegators :partitioner, :relevant_warning_groups,
|
30
|
+
:irrelevant_warning_groups
|
30
31
|
|
31
32
|
def report_relevant_warning_groups
|
32
33
|
if relevant_warning_groups.any?
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shoulda-matchers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.8.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tammer Saleh
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2014-
|
16
|
+
date: 2014-12-25 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: activesupport
|
@@ -70,11 +70,6 @@ files:
|
|
70
70
|
- doc_config/yard/templates/default/method_details/html/source.erb
|
71
71
|
- doc_config/yard/templates/default/module/html/box_info.erb
|
72
72
|
- docs.watchr
|
73
|
-
- features/activemodel_integration.feature
|
74
|
-
- features/rails_integration.feature
|
75
|
-
- features/step_definitions/activemodel_steps.rb
|
76
|
-
- features/step_definitions/rails_steps.rb
|
77
|
-
- features/support/env.rb
|
78
73
|
- gemfiles/3.0.gemfile
|
79
74
|
- gemfiles/3.0.gemfile.lock
|
80
75
|
- gemfiles/3.1.gemfile
|
@@ -91,6 +86,8 @@ files:
|
|
91
86
|
- gemfiles/4.0.1.gemfile.lock
|
92
87
|
- gemfiles/4.1.gemfile
|
93
88
|
- gemfiles/4.1.gemfile.lock
|
89
|
+
- gemfiles/4.2.gemfile
|
90
|
+
- gemfiles/4.2.gemfile.lock
|
94
91
|
- lib/shoulda-matchers.rb
|
95
92
|
- lib/shoulda/matchers.rb
|
96
93
|
- lib/shoulda/matchers/action_controller.rb
|
@@ -103,14 +100,13 @@ files:
|
|
103
100
|
- lib/shoulda/matchers/action_controller/respond_with_matcher.rb
|
104
101
|
- lib/shoulda/matchers/action_controller/route_matcher.rb
|
105
102
|
- lib/shoulda/matchers/action_controller/route_params.rb
|
103
|
+
- lib/shoulda/matchers/action_controller/set_flash_matcher.rb
|
106
104
|
- lib/shoulda/matchers/action_controller/set_session_matcher.rb
|
107
|
-
- lib/shoulda/matchers/action_controller/set_the_flash_matcher.rb
|
108
105
|
- lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb
|
109
106
|
- lib/shoulda/matchers/active_model.rb
|
110
107
|
- lib/shoulda/matchers/active_model/allow_mass_assignment_of_matcher.rb
|
111
108
|
- lib/shoulda/matchers/active_model/allow_value_matcher.rb
|
112
109
|
- lib/shoulda/matchers/active_model/disallow_value_matcher.rb
|
113
|
-
- lib/shoulda/matchers/active_model/ensure_length_of_matcher.rb
|
114
110
|
- lib/shoulda/matchers/active_model/errors.rb
|
115
111
|
- lib/shoulda/matchers/active_model/exception_message_finder.rb
|
116
112
|
- lib/shoulda/matchers/active_model/have_secure_password_matcher.rb
|
@@ -126,9 +122,9 @@ files:
|
|
126
122
|
- lib/shoulda/matchers/active_model/validate_confirmation_of_matcher.rb
|
127
123
|
- lib/shoulda/matchers/active_model/validate_exclusion_of_matcher.rb
|
128
124
|
- lib/shoulda/matchers/active_model/validate_inclusion_of_matcher.rb
|
125
|
+
- lib/shoulda/matchers/active_model/validate_length_of_matcher.rb
|
129
126
|
- lib/shoulda/matchers/active_model/validate_numericality_of_matcher.rb
|
130
127
|
- lib/shoulda/matchers/active_model/validate_presence_of_matcher.rb
|
131
|
-
- lib/shoulda/matchers/active_model/validate_uniqueness_of_matcher.rb
|
132
128
|
- lib/shoulda/matchers/active_model/validation_matcher.rb
|
133
129
|
- lib/shoulda/matchers/active_model/validation_message_finder.rb
|
134
130
|
- lib/shoulda/matchers/active_record.rb
|
@@ -150,6 +146,12 @@ files:
|
|
150
146
|
- lib/shoulda/matchers/active_record/have_db_index_matcher.rb
|
151
147
|
- lib/shoulda/matchers/active_record/have_readonly_attribute_matcher.rb
|
152
148
|
- lib/shoulda/matchers/active_record/serialize_matcher.rb
|
149
|
+
- lib/shoulda/matchers/active_record/uniqueness.rb
|
150
|
+
- lib/shoulda/matchers/active_record/uniqueness/model.rb
|
151
|
+
- lib/shoulda/matchers/active_record/uniqueness/namespace.rb
|
152
|
+
- lib/shoulda/matchers/active_record/uniqueness/test_model_creator.rb
|
153
|
+
- lib/shoulda/matchers/active_record/uniqueness/test_models.rb
|
154
|
+
- lib/shoulda/matchers/active_record/validate_uniqueness_of_matcher.rb
|
153
155
|
- lib/shoulda/matchers/assertion_error.rb
|
154
156
|
- lib/shoulda/matchers/doublespeak.rb
|
155
157
|
- lib/shoulda/matchers/doublespeak/double.rb
|
@@ -168,80 +170,114 @@ files:
|
|
168
170
|
- lib/shoulda/matchers/integrations/nunit_test_case_detection.rb
|
169
171
|
- lib/shoulda/matchers/integrations/rspec.rb
|
170
172
|
- lib/shoulda/matchers/integrations/test_unit.rb
|
173
|
+
- lib/shoulda/matchers/matcher_context.rb
|
171
174
|
- lib/shoulda/matchers/rails_shim.rb
|
175
|
+
- lib/shoulda/matchers/util.rb
|
172
176
|
- lib/shoulda/matchers/version.rb
|
173
177
|
- lib/shoulda/matchers/warn.rb
|
174
178
|
- script/SUPPORTED_VERSIONS
|
175
179
|
- script/install_gems_in_all_appraisals
|
176
180
|
- script/run_all_tests
|
177
181
|
- shoulda-matchers.gemspec
|
182
|
+
- spec/acceptance/active_model_integration_spec.rb
|
183
|
+
- spec/acceptance/independent_matchers_spec.rb
|
184
|
+
- spec/acceptance/rails_integration_spec.rb
|
185
|
+
- spec/acceptance_spec_helper.rb
|
178
186
|
- spec/report_warnings.rb
|
179
|
-
- spec/
|
180
|
-
- spec/
|
181
|
-
- spec/
|
182
|
-
- spec/
|
183
|
-
- spec/
|
184
|
-
- spec/
|
185
|
-
- spec/
|
186
|
-
- spec/
|
187
|
-
- spec/
|
188
|
-
- spec/
|
189
|
-
- spec/
|
190
|
-
- spec/
|
191
|
-
- spec/
|
192
|
-
- spec/
|
193
|
-
- spec/
|
194
|
-
- spec/
|
195
|
-
- spec/
|
196
|
-
- spec/
|
197
|
-
- spec/
|
198
|
-
- spec/
|
199
|
-
- spec/
|
200
|
-
- spec/
|
201
|
-
- spec/
|
202
|
-
- spec/
|
203
|
-
- spec/
|
204
|
-
- spec/
|
205
|
-
- spec/
|
206
|
-
- spec/
|
207
|
-
- spec/
|
208
|
-
- spec/
|
209
|
-
- spec/
|
210
|
-
- spec/
|
211
|
-
- spec/
|
212
|
-
- spec/
|
213
|
-
- spec/
|
214
|
-
- spec/
|
215
|
-
- spec/
|
216
|
-
- spec/
|
217
|
-
- spec/
|
218
|
-
- spec/
|
219
|
-
- spec/
|
220
|
-
- spec/
|
221
|
-
- spec/
|
222
|
-
- spec/shoulda/matchers/
|
223
|
-
- spec/shoulda/matchers/
|
224
|
-
- spec/shoulda/matchers/
|
225
|
-
- spec/shoulda/matchers/
|
226
|
-
- spec/shoulda/matchers/
|
227
|
-
- spec/shoulda/matchers/
|
228
|
-
- spec/shoulda/matchers/
|
229
|
-
- spec/
|
230
|
-
- spec/
|
231
|
-
- spec/
|
232
|
-
- spec/
|
233
|
-
- spec/
|
234
|
-
- spec/
|
235
|
-
- spec/
|
236
|
-
- spec/
|
237
|
-
- spec/
|
238
|
-
- spec/
|
239
|
-
- spec/
|
240
|
-
- spec/
|
241
|
-
- spec/
|
242
|
-
- spec/
|
243
|
-
- spec/
|
244
|
-
- spec/
|
187
|
+
- spec/support/acceptance/helpers.rb
|
188
|
+
- spec/support/acceptance/helpers/active_model_helpers.rb
|
189
|
+
- spec/support/acceptance/helpers/array_helpers.rb
|
190
|
+
- spec/support/acceptance/helpers/base_helpers.rb
|
191
|
+
- spec/support/acceptance/helpers/command_helpers.rb
|
192
|
+
- spec/support/acceptance/helpers/file_helpers.rb
|
193
|
+
- spec/support/acceptance/helpers/gem_helpers.rb
|
194
|
+
- spec/support/acceptance/helpers/minitest_helpers.rb
|
195
|
+
- spec/support/acceptance/helpers/pluralization_helpers.rb
|
196
|
+
- spec/support/acceptance/helpers/rails_version_helpers.rb
|
197
|
+
- spec/support/acceptance/helpers/rspec_helpers.rb
|
198
|
+
- spec/support/acceptance/helpers/ruby_version_helpers.rb
|
199
|
+
- spec/support/acceptance/helpers/step_helpers.rb
|
200
|
+
- spec/support/acceptance/matchers/have_output.rb
|
201
|
+
- spec/support/acceptance/matchers/indicate_number_of_tests_was_run_matcher.rb
|
202
|
+
- spec/support/acceptance/matchers/indicate_that_tests_were_run_matcher.rb
|
203
|
+
- spec/support/tests/bundle.rb
|
204
|
+
- spec/support/tests/command_runner.rb
|
205
|
+
- spec/support/tests/filesystem.rb
|
206
|
+
- spec/support/tests/version.rb
|
207
|
+
- spec/support/unit/capture.rb
|
208
|
+
- spec/support/unit/helpers/active_model_helpers.rb
|
209
|
+
- spec/support/unit/helpers/active_model_versions.rb
|
210
|
+
- spec/support/unit/helpers/active_resource_builder.rb
|
211
|
+
- spec/support/unit/helpers/allow_value_matcher_helpers.rb
|
212
|
+
- spec/support/unit/helpers/class_builder.rb
|
213
|
+
- spec/support/unit/helpers/confirmation_matcher_helpers.rb
|
214
|
+
- spec/support/unit/helpers/controller_builder.rb
|
215
|
+
- spec/support/unit/helpers/i18n_faker.rb
|
216
|
+
- spec/support/unit/helpers/mailer_builder.rb
|
217
|
+
- spec/support/unit/helpers/model_builder.rb
|
218
|
+
- spec/support/unit/helpers/rails_versions.rb
|
219
|
+
- spec/support/unit/i18n.rb
|
220
|
+
- spec/support/unit/matchers/deprecate.rb
|
221
|
+
- spec/support/unit/matchers/fail_with_message_including_matcher.rb
|
222
|
+
- spec/support/unit/matchers/fail_with_message_matcher.rb
|
223
|
+
- spec/support/unit/matchers/print_warning_including.rb
|
224
|
+
- spec/support/unit/rails_application.rb
|
225
|
+
- spec/support/unit/record_builder_with_i18n_validation_message.rb
|
226
|
+
- spec/support/unit/record_validating_confirmation_builder.rb
|
227
|
+
- spec/support/unit/record_with_different_error_attribute_builder.rb
|
228
|
+
- spec/support/unit/shared_examples/numerical_submatcher.rb
|
229
|
+
- spec/support/unit/shared_examples/numerical_type_submatcher.rb
|
230
|
+
- spec/unit/shoulda/matchers/action_controller/callback_matcher_spec.rb
|
231
|
+
- spec/unit/shoulda/matchers/action_controller/filter_param_matcher_spec.rb
|
232
|
+
- spec/unit/shoulda/matchers/action_controller/redirect_to_matcher_spec.rb
|
233
|
+
- spec/unit/shoulda/matchers/action_controller/render_template_matcher_spec.rb
|
234
|
+
- spec/unit/shoulda/matchers/action_controller/render_with_layout_matcher_spec.rb
|
235
|
+
- spec/unit/shoulda/matchers/action_controller/rescue_from_matcher_spec.rb
|
236
|
+
- spec/unit/shoulda/matchers/action_controller/respond_with_matcher_spec.rb
|
237
|
+
- spec/unit/shoulda/matchers/action_controller/route_matcher_spec.rb
|
238
|
+
- spec/unit/shoulda/matchers/action_controller/route_params_spec.rb
|
239
|
+
- spec/unit/shoulda/matchers/action_controller/set_flash_matcher_spec.rb
|
240
|
+
- spec/unit/shoulda/matchers/action_controller/set_session_matcher_spec.rb
|
241
|
+
- spec/unit/shoulda/matchers/action_controller/strong_parameters_matcher_spec.rb
|
242
|
+
- spec/unit/shoulda/matchers/active_model/allow_mass_assignment_of_matcher_spec.rb
|
243
|
+
- spec/unit/shoulda/matchers/active_model/allow_value_matcher_spec.rb
|
244
|
+
- spec/unit/shoulda/matchers/active_model/disallow_value_matcher_spec.rb
|
245
|
+
- spec/unit/shoulda/matchers/active_model/exception_message_finder_spec.rb
|
246
|
+
- spec/unit/shoulda/matchers/active_model/have_secure_password_matcher_spec.rb
|
247
|
+
- spec/unit/shoulda/matchers/active_model/helpers_spec.rb
|
248
|
+
- spec/unit/shoulda/matchers/active_model/numericality_matchers/comparison_matcher_spec.rb
|
249
|
+
- spec/unit/shoulda/matchers/active_model/numericality_matchers/even_number_matcher_spec.rb
|
250
|
+
- spec/unit/shoulda/matchers/active_model/numericality_matchers/odd_number_matcher_spec.rb
|
251
|
+
- spec/unit/shoulda/matchers/active_model/numericality_matchers/only_integer_matcher_spec.rb
|
252
|
+
- spec/unit/shoulda/matchers/active_model/validate_absence_of_matcher_spec.rb
|
253
|
+
- spec/unit/shoulda/matchers/active_model/validate_acceptance_of_matcher_spec.rb
|
254
|
+
- spec/unit/shoulda/matchers/active_model/validate_confirmation_of_matcher_spec.rb
|
255
|
+
- spec/unit/shoulda/matchers/active_model/validate_exclusion_of_matcher_spec.rb
|
256
|
+
- spec/unit/shoulda/matchers/active_model/validate_inclusion_of_matcher_spec.rb
|
257
|
+
- spec/unit/shoulda/matchers/active_model/validate_length_of_matcher_spec.rb
|
258
|
+
- spec/unit/shoulda/matchers/active_model/validate_numericality_of_matcher_spec.rb
|
259
|
+
- spec/unit/shoulda/matchers/active_model/validate_presence_of_matcher_spec.rb
|
260
|
+
- spec/unit/shoulda/matchers/active_model/validate_uniqueness_of_matcher_spec.rb
|
261
|
+
- spec/unit/shoulda/matchers/active_model/validation_message_finder_spec.rb
|
262
|
+
- spec/unit/shoulda/matchers/active_record/accept_nested_attributes_for_matcher_spec.rb
|
263
|
+
- spec/unit/shoulda/matchers/active_record/association_matcher_spec.rb
|
264
|
+
- spec/unit/shoulda/matchers/active_record/association_matchers/model_reflection_spec.rb
|
265
|
+
- spec/unit/shoulda/matchers/active_record/define_enum_for_matcher_spec.rb
|
266
|
+
- spec/unit/shoulda/matchers/active_record/have_db_column_matcher_spec.rb
|
267
|
+
- spec/unit/shoulda/matchers/active_record/have_db_index_matcher_spec.rb
|
268
|
+
- spec/unit/shoulda/matchers/active_record/have_readonly_attributes_matcher_spec.rb
|
269
|
+
- spec/unit/shoulda/matchers/active_record/serialize_matcher_spec.rb
|
270
|
+
- spec/unit/shoulda/matchers/doublespeak/double_collection_spec.rb
|
271
|
+
- spec/unit/shoulda/matchers/doublespeak/double_implementation_registry_spec.rb
|
272
|
+
- spec/unit/shoulda/matchers/doublespeak/double_spec.rb
|
273
|
+
- spec/unit/shoulda/matchers/doublespeak/object_double_spec.rb
|
274
|
+
- spec/unit/shoulda/matchers/doublespeak/proxy_implementation_spec.rb
|
275
|
+
- spec/unit/shoulda/matchers/doublespeak/stub_implementation_spec.rb
|
276
|
+
- spec/unit/shoulda/matchers/doublespeak/world_spec.rb
|
277
|
+
- spec/unit/shoulda/matchers/doublespeak_spec.rb
|
278
|
+
- spec/unit/shoulda/matchers/independent/delegate_method_matcher/stubbed_target_spec.rb
|
279
|
+
- spec/unit/shoulda/matchers/independent/delegate_method_matcher_spec.rb
|
280
|
+
- spec/unit_spec_helper.rb
|
245
281
|
- spec/warnings_spy.rb
|
246
282
|
- spec/warnings_spy/filesystem.rb
|
247
283
|
- spec/warnings_spy/partitioner.rb
|
@@ -262,9 +298,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
262
298
|
version: 1.9.2
|
263
299
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
264
300
|
requirements:
|
265
|
-
- - "
|
301
|
+
- - ">"
|
266
302
|
- !ruby/object:Gem::Version
|
267
|
-
version:
|
303
|
+
version: 1.3.1
|
268
304
|
requirements: []
|
269
305
|
rubyforge_project:
|
270
306
|
rubygems_version: 2.2.2
|
@@ -272,78 +308,105 @@ signing_key:
|
|
272
308
|
specification_version: 4
|
273
309
|
summary: Making tests easy on the fingers and eyes
|
274
310
|
test_files:
|
275
|
-
-
|
276
|
-
-
|
277
|
-
-
|
278
|
-
-
|
279
|
-
- features/support/env.rb
|
311
|
+
- spec/acceptance/active_model_integration_spec.rb
|
312
|
+
- spec/acceptance/independent_matchers_spec.rb
|
313
|
+
- spec/acceptance/rails_integration_spec.rb
|
314
|
+
- spec/acceptance_spec_helper.rb
|
280
315
|
- spec/report_warnings.rb
|
281
|
-
- spec/
|
282
|
-
- spec/
|
283
|
-
- spec/
|
284
|
-
- spec/
|
285
|
-
- spec/
|
286
|
-
- spec/
|
287
|
-
- spec/
|
288
|
-
- spec/
|
289
|
-
- spec/
|
290
|
-
- spec/
|
291
|
-
- spec/
|
292
|
-
- spec/
|
293
|
-
- spec/
|
294
|
-
- spec/
|
295
|
-
- spec/
|
296
|
-
- spec/
|
297
|
-
- spec/
|
298
|
-
- spec/
|
299
|
-
- spec/
|
300
|
-
- spec/
|
301
|
-
- spec/
|
302
|
-
- spec/
|
303
|
-
- spec/
|
304
|
-
- spec/
|
305
|
-
- spec/
|
306
|
-
- spec/
|
307
|
-
- spec/
|
308
|
-
- spec/
|
309
|
-
- spec/
|
310
|
-
- spec/
|
311
|
-
- spec/
|
312
|
-
- spec/
|
313
|
-
- spec/
|
314
|
-
- spec/
|
315
|
-
- spec/
|
316
|
-
- spec/
|
317
|
-
- spec/
|
318
|
-
- spec/
|
319
|
-
- spec/
|
320
|
-
- spec/
|
321
|
-
- spec/
|
322
|
-
- spec/
|
323
|
-
- spec/
|
324
|
-
- spec/shoulda/matchers/
|
325
|
-
- spec/shoulda/matchers/
|
326
|
-
- spec/shoulda/matchers/
|
327
|
-
- spec/shoulda/matchers/
|
328
|
-
- spec/shoulda/matchers/
|
329
|
-
- spec/shoulda/matchers/
|
330
|
-
- spec/shoulda/matchers/
|
331
|
-
- spec/
|
332
|
-
- spec/
|
333
|
-
- spec/
|
334
|
-
- spec/
|
335
|
-
- spec/
|
336
|
-
- spec/
|
337
|
-
- spec/
|
338
|
-
- spec/
|
339
|
-
- spec/
|
340
|
-
- spec/
|
341
|
-
- spec/
|
342
|
-
- spec/
|
343
|
-
- spec/
|
344
|
-
- spec/
|
345
|
-
- spec/
|
346
|
-
- spec/
|
316
|
+
- spec/support/acceptance/helpers.rb
|
317
|
+
- spec/support/acceptance/helpers/active_model_helpers.rb
|
318
|
+
- spec/support/acceptance/helpers/array_helpers.rb
|
319
|
+
- spec/support/acceptance/helpers/base_helpers.rb
|
320
|
+
- spec/support/acceptance/helpers/command_helpers.rb
|
321
|
+
- spec/support/acceptance/helpers/file_helpers.rb
|
322
|
+
- spec/support/acceptance/helpers/gem_helpers.rb
|
323
|
+
- spec/support/acceptance/helpers/minitest_helpers.rb
|
324
|
+
- spec/support/acceptance/helpers/pluralization_helpers.rb
|
325
|
+
- spec/support/acceptance/helpers/rails_version_helpers.rb
|
326
|
+
- spec/support/acceptance/helpers/rspec_helpers.rb
|
327
|
+
- spec/support/acceptance/helpers/ruby_version_helpers.rb
|
328
|
+
- spec/support/acceptance/helpers/step_helpers.rb
|
329
|
+
- spec/support/acceptance/matchers/have_output.rb
|
330
|
+
- spec/support/acceptance/matchers/indicate_number_of_tests_was_run_matcher.rb
|
331
|
+
- spec/support/acceptance/matchers/indicate_that_tests_were_run_matcher.rb
|
332
|
+
- spec/support/tests/bundle.rb
|
333
|
+
- spec/support/tests/command_runner.rb
|
334
|
+
- spec/support/tests/filesystem.rb
|
335
|
+
- spec/support/tests/version.rb
|
336
|
+
- spec/support/unit/capture.rb
|
337
|
+
- spec/support/unit/helpers/active_model_helpers.rb
|
338
|
+
- spec/support/unit/helpers/active_model_versions.rb
|
339
|
+
- spec/support/unit/helpers/active_resource_builder.rb
|
340
|
+
- spec/support/unit/helpers/allow_value_matcher_helpers.rb
|
341
|
+
- spec/support/unit/helpers/class_builder.rb
|
342
|
+
- spec/support/unit/helpers/confirmation_matcher_helpers.rb
|
343
|
+
- spec/support/unit/helpers/controller_builder.rb
|
344
|
+
- spec/support/unit/helpers/i18n_faker.rb
|
345
|
+
- spec/support/unit/helpers/mailer_builder.rb
|
346
|
+
- spec/support/unit/helpers/model_builder.rb
|
347
|
+
- spec/support/unit/helpers/rails_versions.rb
|
348
|
+
- spec/support/unit/i18n.rb
|
349
|
+
- spec/support/unit/matchers/deprecate.rb
|
350
|
+
- spec/support/unit/matchers/fail_with_message_including_matcher.rb
|
351
|
+
- spec/support/unit/matchers/fail_with_message_matcher.rb
|
352
|
+
- spec/support/unit/matchers/print_warning_including.rb
|
353
|
+
- spec/support/unit/rails_application.rb
|
354
|
+
- spec/support/unit/record_builder_with_i18n_validation_message.rb
|
355
|
+
- spec/support/unit/record_validating_confirmation_builder.rb
|
356
|
+
- spec/support/unit/record_with_different_error_attribute_builder.rb
|
357
|
+
- spec/support/unit/shared_examples/numerical_submatcher.rb
|
358
|
+
- spec/support/unit/shared_examples/numerical_type_submatcher.rb
|
359
|
+
- spec/unit/shoulda/matchers/action_controller/callback_matcher_spec.rb
|
360
|
+
- spec/unit/shoulda/matchers/action_controller/filter_param_matcher_spec.rb
|
361
|
+
- spec/unit/shoulda/matchers/action_controller/redirect_to_matcher_spec.rb
|
362
|
+
- spec/unit/shoulda/matchers/action_controller/render_template_matcher_spec.rb
|
363
|
+
- spec/unit/shoulda/matchers/action_controller/render_with_layout_matcher_spec.rb
|
364
|
+
- spec/unit/shoulda/matchers/action_controller/rescue_from_matcher_spec.rb
|
365
|
+
- spec/unit/shoulda/matchers/action_controller/respond_with_matcher_spec.rb
|
366
|
+
- spec/unit/shoulda/matchers/action_controller/route_matcher_spec.rb
|
367
|
+
- spec/unit/shoulda/matchers/action_controller/route_params_spec.rb
|
368
|
+
- spec/unit/shoulda/matchers/action_controller/set_flash_matcher_spec.rb
|
369
|
+
- spec/unit/shoulda/matchers/action_controller/set_session_matcher_spec.rb
|
370
|
+
- spec/unit/shoulda/matchers/action_controller/strong_parameters_matcher_spec.rb
|
371
|
+
- spec/unit/shoulda/matchers/active_model/allow_mass_assignment_of_matcher_spec.rb
|
372
|
+
- spec/unit/shoulda/matchers/active_model/allow_value_matcher_spec.rb
|
373
|
+
- spec/unit/shoulda/matchers/active_model/disallow_value_matcher_spec.rb
|
374
|
+
- spec/unit/shoulda/matchers/active_model/exception_message_finder_spec.rb
|
375
|
+
- spec/unit/shoulda/matchers/active_model/have_secure_password_matcher_spec.rb
|
376
|
+
- spec/unit/shoulda/matchers/active_model/helpers_spec.rb
|
377
|
+
- spec/unit/shoulda/matchers/active_model/numericality_matchers/comparison_matcher_spec.rb
|
378
|
+
- spec/unit/shoulda/matchers/active_model/numericality_matchers/even_number_matcher_spec.rb
|
379
|
+
- spec/unit/shoulda/matchers/active_model/numericality_matchers/odd_number_matcher_spec.rb
|
380
|
+
- spec/unit/shoulda/matchers/active_model/numericality_matchers/only_integer_matcher_spec.rb
|
381
|
+
- spec/unit/shoulda/matchers/active_model/validate_absence_of_matcher_spec.rb
|
382
|
+
- spec/unit/shoulda/matchers/active_model/validate_acceptance_of_matcher_spec.rb
|
383
|
+
- spec/unit/shoulda/matchers/active_model/validate_confirmation_of_matcher_spec.rb
|
384
|
+
- spec/unit/shoulda/matchers/active_model/validate_exclusion_of_matcher_spec.rb
|
385
|
+
- spec/unit/shoulda/matchers/active_model/validate_inclusion_of_matcher_spec.rb
|
386
|
+
- spec/unit/shoulda/matchers/active_model/validate_length_of_matcher_spec.rb
|
387
|
+
- spec/unit/shoulda/matchers/active_model/validate_numericality_of_matcher_spec.rb
|
388
|
+
- spec/unit/shoulda/matchers/active_model/validate_presence_of_matcher_spec.rb
|
389
|
+
- spec/unit/shoulda/matchers/active_model/validate_uniqueness_of_matcher_spec.rb
|
390
|
+
- spec/unit/shoulda/matchers/active_model/validation_message_finder_spec.rb
|
391
|
+
- spec/unit/shoulda/matchers/active_record/accept_nested_attributes_for_matcher_spec.rb
|
392
|
+
- spec/unit/shoulda/matchers/active_record/association_matcher_spec.rb
|
393
|
+
- spec/unit/shoulda/matchers/active_record/association_matchers/model_reflection_spec.rb
|
394
|
+
- spec/unit/shoulda/matchers/active_record/define_enum_for_matcher_spec.rb
|
395
|
+
- spec/unit/shoulda/matchers/active_record/have_db_column_matcher_spec.rb
|
396
|
+
- spec/unit/shoulda/matchers/active_record/have_db_index_matcher_spec.rb
|
397
|
+
- spec/unit/shoulda/matchers/active_record/have_readonly_attributes_matcher_spec.rb
|
398
|
+
- spec/unit/shoulda/matchers/active_record/serialize_matcher_spec.rb
|
399
|
+
- spec/unit/shoulda/matchers/doublespeak/double_collection_spec.rb
|
400
|
+
- spec/unit/shoulda/matchers/doublespeak/double_implementation_registry_spec.rb
|
401
|
+
- spec/unit/shoulda/matchers/doublespeak/double_spec.rb
|
402
|
+
- spec/unit/shoulda/matchers/doublespeak/object_double_spec.rb
|
403
|
+
- spec/unit/shoulda/matchers/doublespeak/proxy_implementation_spec.rb
|
404
|
+
- spec/unit/shoulda/matchers/doublespeak/stub_implementation_spec.rb
|
405
|
+
- spec/unit/shoulda/matchers/doublespeak/world_spec.rb
|
406
|
+
- spec/unit/shoulda/matchers/doublespeak_spec.rb
|
407
|
+
- spec/unit/shoulda/matchers/independent/delegate_method_matcher/stubbed_target_spec.rb
|
408
|
+
- spec/unit/shoulda/matchers/independent/delegate_method_matcher_spec.rb
|
409
|
+
- spec/unit_spec_helper.rb
|
347
410
|
- spec/warnings_spy.rb
|
348
411
|
- spec/warnings_spy/filesystem.rb
|
349
412
|
- spec/warnings_spy/partitioner.rb
|