Displaying 3 results from an estimated 3 matches for "should_respond_to".
2007 Apr 09
10
changes in 0.8 and greater - should_
Has the should_... syntax changed? I''m getting errors when running
the following:
should_render(:index)
should_be_valid
should_not_be_valid
should_respond_to
should_be
should_render
I thought the syntax changed to something like the following:
obj.should render(:index)
but this doesn''t seem to work.
Scott
2006 Nov 07
3
include Helper in context?
Brandon,
can you get your Helpers to work in rspec 0.7 ? I''m including them in
the context but the render fails to see it.
If you have it working, I''ll go back and bang my head against it some
more, otherwise I''ll file a bug!
Many thanks,
Jerry
context "account/login (view)" do
include StandardHelpers
specify ''displays title
2007 Jul 26
5
Coding standards and whitespace
...undle/Snippets/should_receive_with_any_args.tmSnippet
RSpec.tmbundle/Snippets/should_receive_with_args.tmSnippet
RSpec.tmbundle/Snippets/should_receive_with_no_args.tmSnippet
RSpec.tmbundle/Snippets/should_redirect_to.tmSnippet
RSpec.tmbundle/Snippets/should_render.tmSnippet
RSpec.tmbundle/Snippets/should_respond_to.tmSnippet
RSpec.tmbundle/Snippets/should_satisfy.tmSnippet
RSpec.tmbundle/Snippets/should_throw.tmSnippet
RSpec.tmbundle/Snippets/teardown.tmSnippet
RSpec.tmbundle/Snippets/twice.tmSnippet
rspec_on_rails/generators/rspec/templates/script/spec_server
Finally I did a search for trailing whitespace....