Skip to content

Instantly share code, notes, and snippets.

@sandsu
Created February 4, 2013 16:57
Show Gist options
  • Save sandsu/4707960 to your computer and use it in GitHub Desktop.
Save sandsu/4707960 to your computer and use it in GitHub Desktop.
1) Customer should have no qunit errors
Failure/Error: page.should have_selector("#qunit-testresult .failed", :text => "0")
expected css "#qunit-testresult .failed" with text "0" to return something
# ./spec/requests/customers_spec.rb:56:in `block (3 levels) in <top (required)>'
# ./spec/requests/customers_spec.rb:55:in `block (2 levels) in <top (required)>'
2) Customer should redirect to the right page when click on save and add guarantor
Failure/Error: page.should have_selector("h6", :text => "Cadastro de Avalista")
expected css "h6" with text "Cadastro de Avalista" to return something
# ./spec/requests/customers_spec.rb:71:in `block (2 levels) in <top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment