Hello everybody,

Whenever I run the tests I get 2 tests failing randomly. If I rerun
the tests once or twice it passes again.

Note: I've rerun the tests without making any changes.

These are the two tests.

  1) Failure:
test: #create (POST) should it re-renders on invalid data, with the
target repos list. (MergeRequestsControllerTest)
    [actionpack (2.3.14) lib/action_controller/test_case.rb:119:in
`clean_backtrace'
     test/functional/merge_requests_controller_test.rb:379:in
`__bind_1329458896_448673'
     shoulda (2.9.2) lib/shoulda/context.rb:253:in `call'
     shoulda (2.9.2) lib/shoulda/context.rb:253:in `test: #create
(POST) should it re-renders on invalid data, with the target repos
list. '
     activesupport (2.3.14) lib/active_support/testing/
setup_and_teardown.rb:62:in `__send__'
     activesupport (2.3.14) lib/active_support/testing/
setup_and_teardown.rb:62:in `run']:
Expected response to be a <:success>, but was <302>

  2) Failure:
test: #update (PUT) should it re-renders on invalid data, with the
target repos list. (MergeRequestsControllerTest)
    [actionpack (2.3.14) lib/action_controller/test_case.rb:119:in
`clean_backtrace'
     test/functional/merge_requests_controller_test.rb:545:in
`__bind_1329458905_890165'
     shoulda (2.9.2) lib/shoulda/context.rb:253:in `call'
     shoulda (2.9.2) lib/shoulda/context.rb:253:in `test: #update
(PUT) should it re-renders on invalid data, with the target repos
list. '
     activesupport (2.3.14) lib/active_support/testing/
setup_and_teardown.rb:62:in `__send__'
     activesupport (2.3.14) lib/active_support/testing/
setup_and_teardown.rb:62:in `run']:
Expected response to be a <:success>, but was <302>

996 tests, 2045 assertions, 2 failures, 0 errors

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to