Skip to content

Instantly share code, notes, and snippets.

@tammersaleh
Created January 18, 2010 22:46
Show Gist options
  • Save tammersaleh/280448 to your computer and use it in GitHub Desktop.
Save tammersaleh/280448 to your computer and use it in GitHub Desktop.
test: as a logged in user given an email end point on GET to /email_end_points/ should render a form to create a new email end point. (EmailEndPointsControllerTest)
[webrat (0.5.3) lib/webrat/core/matchers/have_selector.rb:63:in `assert_have_selector'
test/shoulda_macros/should_render_form.rb:8:in `__bind_1263853521_607713'
shoulda (2.10.2) lib/shoulda/context.rb:351:in `call'
shoulda (2.10.2) lib/shoulda/context.rb:351:in `test: as a logged in user given an email end point on GET to /email_end_points/ should render a form to create a new email end point. ']:
expected following output to contain a <form[action$='/email_end_points'][method='post']/> tag:
...
<form action="/email_end_points" class="formtastic email_end_point" id="new_email_end_point" method="post">
...
.
<nil> is not true.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment