Skip to content

Instantly share code, notes, and snippets.

@sandsu
Created December 3, 2012 14:47
Show Gist options
  • Save sandsu/4195444 to your computer and use it in GitHub Desktop.
Save sandsu/4195444 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:54:in `block (3 levels) in <top (required)>'
# ./spec/requests/customers_spec.rb:53: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 => "Avalistas")
expected css "h6" with text "Avalistas" to return something
# ./spec/requests/customers_spec.rb:65: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