-
drapergeek committed
Oct 5, 2012 -
drapergeek committed
Oct 5, 2012 -
Try next values in array only.
If we can't find a valid next value outside of each item in the array, throw a custom exception.
-
-
-
-
Fix ensure_length_of matcher to work for is_equal_to cases when the a…
…ttribute has other validations on it. Now that the upper bound matchers are not being skipped for the is_equal_to case, the expected error message needs to be set for the upper bound.
-
-
-
Using ActiveRecord::Base.connection is presumptuous. You must infer t…
…he home of the join table using the parent model. This allows developers to define HABTM relationships in other databases and still use the 'have_and_belong_to_many' matcher.
-
Don't assume that the column is of integer type
Postgres adapter does not convert integers to string upon assignment, so initialize with correct value.
-
Refactor have_db_index_matcher#correct_unique?
Currently, there is an assumption that `matched_index.unique` will be `true` and not truthy. This is not always the case. This can cause tests to fail, even though they should pass. This allows `matched_index.unique` to be truthy.
-
-
Extract ExceptionMessageFinder from AllowValueMatcher
* Replaces repeated conditional with polymorphism
-
Extract ValidationMessageFinder from AllowValueMatcher
jferris committedSep 13, 2012
-
Remove duplication in ValidationMatcher
jferris committedSep 12, 2012 -
Add #strict option to validation matchers
jferris committedSep 12, 2012 * Allow verifying validates! and :strict => true
-
Add AllowValueMatcher#strict to test strict validations
jferris committedSep 11, 2012 * Checks for exceptions raised from #validates! and :strict => true
-
joshuaclayton committed
Aug 30, 2012
-
* Allows to use the validate_format_of matcher with allow_blank and allow_nil options * Fixup test descriptions * Remove duplicate entry from news
-
Merge pull request #136 from potomak/patch-1
Gabe Berke-Williams committedJul 27, 2012 Remove duplicate spec; add in_array
-
Merge pull request #136 from potomak/patch-1
Gabe Berke-Williams committedJul 27, 2012 Remove duplicate spec; add in_array
-
Remove duplicate spec; add in_array
potomak committedJul 25, 2012
-
Gabe Berke-Williams committed
Jul 20, 2012 -
Removed old Rails 2.x layout lookup.
Fixes render_with_layout matcher when rendering with only a partial. (Rendering with :layout => false would also have had this problem on Edge Rails.)