Displaying 3 results from an estimated 3 matches for "at_most".
2007 Jan 24
0
Mocha 0.4 released
...).
- Specify multiple return values for consecutive calls.
- Improved consistency of expectation error messages.
- Allow mocking of Object instance methods e.g. kind_of?, type.
- Provide aliased versions of #expects and #stubs to allow mocking of
these methods.
- Added at_least, at_most, at_most_once methods to expectation.
- Allow expects and stubs to take a hash of method and return values.
- Eliminate warning: "instance variable @yield not initialized" (patch
from Xavier Shay <http://blog.rhnh.net/>).
- Restore instance methods on partial mocks (patc...
2007 May 09
4
UI testing framework? (w/o selenium)
...SomeCo, Inc. All
rights reserved."
page.should_have :div, :id => ''copyright''
page.should_include :css, ''default.css''
page.should_have.no_broken_links
page.should_have.at_least.3 :div, :class => "bbxBody"
page.should_have.at_most.6 :div, :class => "someClassName"
# page.[name_of_form]_form.
page.search_form.submit :name => "California" do
result.status.should_be :success
result.should_have :image, "logo.gif"
result.url.should_contain "some_page.html"...
2007 Jul 26
5
Coding standards and whitespace
...tmbundle/Snippets/and_throw.tmSnippet
RSpec.tmbundle/Snippets/and_yield.tmSnippet
RSpec.tmbundle/Snippets/any_number_of_times.tmSnippet
RSpec.tmbundle/Snippets/at_least.tmSnippet
RSpec.tmbundle/Snippets/at_least_once.tmSnippet
RSpec.tmbundle/Snippets/at_least_twice.tmSnippet
RSpec.tmbundle/Snippets/at_most.tmSnippet
RSpec.tmbundle/Snippets/at_most_once.tmSnippet
RSpec.tmbundle/Snippets/at_most_twice.tmSnippet
RSpec.tmbundle/Snippets/controller_context.tmSnippet
RSpec.tmbundle/Snippets/controller_context_RESTful.tmSnippet
RSpec.tmbundle/Snippets/Custom Matcher.tmSnippet
RSpec.tmbundle/Snippets/Describ...