search for: should_not_equ

Displaying 3 results from an estimated 3 matches for "should_not_equ".

Did you mean: should_not_eql
2006 Oct 17
0
actual.should != not_expected
...e sure that the spec above and all other specs are passing. Also - I view this as a bell (or whistle, if you prefer). Specifying something as vague as != seems almost useless to me to begin with, but if you really do need to specify inequality you''ll be ableto do it with should_not_eql or should_not_equal. That said, we will reserve the right to not incorporate a working solution if we feel that it is not cleanly aligned with the rest of RSpec''s internals, or makes us all go "wow, that''s cool, but what a hack!". So please do not submit anything unless the sheer satisfac...
2007 Feb 02
7
Coming Soon...
...* Will remove all of the old syntax. ======================================= Here are some answers to some questions that some of you may have: == What is changing? All of the should_xyz methods will be losing an underscore and gaining a space: #before actual.should_equal(expected) actual.should_not_equal(expected) #after actual.should equal(expected) actual.should_not equal(expected) #equal, in this example, is a method that returns an expectation matcher, which Ruby passes to #should, which then interacts with the matcher to evaluate whether or not the expectation is met and report accor...
2007 Jul 26
5
Coding standards and whitespace
...c.tmbundle/Snippets/should_not_be.tmSnippet RSpec.tmbundle/Snippets/should_not_be_a_kind_of.tmSnippet RSpec.tmbundle/Snippets/should_not_be_an_instance_of.tmSnippet RSpec.tmbundle/Snippets/should_not_be_close.tmSnippet RSpec.tmbundle/Snippets/should_not_be_redirect.tmSnippet RSpec.tmbundle/Snippets/should_not_equal.tmSnippet RSpec.tmbundle/Snippets/should_not_include.tmSnippet RSpec.tmbundle/Snippets/should_not_match.tmSnippet RSpec.tmbundle/Snippets/should_not_predicate.tmSnippet RSpec.tmbundle/Snippets/should_not_raise.tmSnippet RSpec.tmbundle/Snippets/should_not_receive.tmSnippet RSpec.tmbundle/Snippets/...