shoulda 2.11.0 → 2.11.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CONTRIBUTION_GUIDELINES.rdoc +5 -5
- data/README.rdoc +72 -89
- data/Rakefile +30 -13
- data/lib/shoulda.rb +5 -3
- data/lib/shoulda/action_controller/matchers.rb +5 -5
- data/lib/shoulda/action_controller/matchers/assign_to_matcher.rb +1 -1
- data/lib/shoulda/action_controller/matchers/respond_with_content_type_matcher.rb +9 -9
- data/lib/shoulda/action_controller/matchers/respond_with_matcher.rb +12 -12
- data/lib/shoulda/action_controller/matchers/route_matcher.rb +1 -1
- data/lib/shoulda/action_mailer/matchers/have_sent_email.rb +17 -26
- data/lib/shoulda/active_record/helpers.rb +2 -2
- data/lib/shoulda/active_record/macros.rb +2 -2
- data/lib/shoulda/active_record/matchers/association_matcher.rb +8 -8
- data/lib/shoulda/active_record/matchers/ensure_inclusion_of_matcher.rb +1 -1
- data/lib/shoulda/active_record/matchers/ensure_length_of_matcher.rb +2 -2
- data/lib/shoulda/active_record/matchers/have_db_column_matcher.rb +11 -11
- data/lib/shoulda/active_record/matchers/have_db_index_matcher.rb +8 -8
- data/lib/shoulda/active_record/matchers/validate_format_of_matcher.rb +2 -4
- data/lib/shoulda/active_record/matchers/validate_uniqueness_of_matcher.rb +3 -3
- data/lib/shoulda/active_record/matchers/validation_matcher.rb +0 -1
- data/lib/shoulda/assertions.rb +2 -2
- data/lib/shoulda/autoload_macros.rb +20 -20
- data/lib/shoulda/context.rb +2 -2
- data/lib/shoulda/{rspec.rb → integrations/rspec.rb} +0 -0
- data/lib/shoulda/integrations/rspec2.rb +22 -0
- data/lib/shoulda/{test_unit.rb → integrations/test_unit.rb} +0 -0
- data/lib/shoulda/macros.rb +32 -2
- data/lib/shoulda/tasks/yaml_to_shoulda.rake +11 -11
- data/lib/shoulda/version.rb +1 -1
- data/rails/init.rb +2 -2
- data/test/matchers/action_mailer/have_sent_email_test.rb +27 -10
- data/test/other/context_test.rb +22 -22
- data/test/other/convert_to_should_syntax_test.rb +1 -1
- data/test/other/private_helpers_test.rb +1 -1
- data/test/other/should_test.rb +12 -12
- data/test/rails2_model_builder.rb +4 -4
- data/test/rails2_root/log/test.log +5852 -0
- data/test/rails3_model_builder.rb +4 -4
- data/test/rails3_root/Gemfile +1 -1
- data/test/rails3_root/db/test.sqlite3 +0 -0
- data/test/rails3_root/log/test.log +5056 -0
- data/test/unit/flea_test.rb +1 -1
- metadata +5 -4
data/test/unit/flea_test.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 2
|
7
7
|
- 11
|
8
|
-
-
|
9
|
-
version: 2.11.
|
8
|
+
- 1
|
9
|
+
version: 2.11.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Tammer Saleh
|
@@ -77,15 +77,16 @@ files:
|
|
77
77
|
- lib/shoulda/autoload_macros.rb
|
78
78
|
- lib/shoulda/context.rb
|
79
79
|
- lib/shoulda/helpers.rb
|
80
|
+
- lib/shoulda/integrations/rspec.rb
|
81
|
+
- lib/shoulda/integrations/rspec2.rb
|
82
|
+
- lib/shoulda/integrations/test_unit.rb
|
80
83
|
- lib/shoulda/macros.rb
|
81
84
|
- lib/shoulda/private_helpers.rb
|
82
85
|
- lib/shoulda/proc_extensions.rb
|
83
86
|
- lib/shoulda/rails.rb
|
84
|
-
- lib/shoulda/rspec.rb
|
85
87
|
- lib/shoulda/tasks/list_tests.rake
|
86
88
|
- lib/shoulda/tasks/yaml_to_shoulda.rake
|
87
89
|
- lib/shoulda/tasks.rb
|
88
|
-
- lib/shoulda/test_unit.rb
|
89
90
|
- lib/shoulda/version.rb
|
90
91
|
- lib/shoulda.rb
|
91
92
|
- rails/init.rb
|