rails test weirdness
i totally have no idea why i should add an empty setup block in a test
case to make the test pass, otherwise it failed just like the setup block
in test_helper.rb didn't run but actually it did run!
case to make the test pass, otherwise it failed just like the setup block
in test_helper.rb didn't run but actually it did run!
class StrandControllerTest < ActionController::TestCase def setup # this can't be removed, or test would fail! endman, enough of rails weirdness.
0 retries:
Post a Comment
Note: Only a member of this blog may post a comment.