{"action":"created","issue":{"url":"https://api.github.com/repos/binarylogic/authlogic/issues/423","labels_url":"https://api.github.com/repos/binarylogic/authlogic/issues/423/labels{/name}","comments_url":"https://api.github.com/repos/binarylogic/authlogic/issues/423/comments","events_url":"https://api.github.com/repos/binarylogic/authlogic/issues/423/events","html_url":"https://github.com/binarylogic/authlogic/issues/423","id":39506013,"number":423,"title":"Test results should not depend on order","user":{"login":"voxik","id":14406,"avatar_url":"https://avatars.githubusercontent.com/u/14406?v=3","gravatar_id":"","url":"https://api.github.com/users/voxik","html_url":"https://github.com/voxik","followers_url":"https://api.github.com/users/voxik/followers","following_url":"https://api.github.com/users/voxik/following{/other_user}","gists_url":"https://api.github.com/users/voxik/gists{/gist_id}","starred_url":"https://api.github.com/users/voxik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voxik/subscriptions","organizations_url":"https://api.github.com/users/voxik/orgs","repos_url":"https://api.github.com/users/voxik/repos","events_url":"https://api.github.com/users/voxik/events{/privacy}","received_events_url":"https://api.github.com/users/voxik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-08-05T10:35:36Z","updated_at":"2015-02-09T22:56:55Z","closed_at":null,"body":"Running the test suite such as ```ruby -Ilib:test -e 'Dir.glob(\"./test/**/*_test.rb\").each {|f| require f}'``` fails with ```194 runs, 613 assertions, 5 failures, 0 errors, 0 skips```.\r\n\r\nRunning the test sorted ```$ ruby -Ilib:test -e 'Dir.glob(\"./test/**/*_test.rb\").sort.each {|f| require f}'```, the test suite is passing: ```194 runs, 623 assertions, 0 failures, 0 errors, 0 skips```\r\n\r\nThe test suite should not depend on order of test cases. Also, each file should be possible to test independently, but this fails:\r\n\r\n```\r\n$ ruby -Ilib:test test/acts_as_authentic_test/password_test.rb\r\n-- create_table(:companies)\r\n   -> 0.0031s\r\n-- create_table(:projects)\r\n   -> 0.0004s\r\n-- create_table(:projects_users, {:id=>false})\r\n   -> 0.0002s\r\n-- create_table(:users)\r\n   -> 0.0016s\r\n-- create_table(:employees)\r\n   -> 0.0004s\r\n-- create_table(:affiliates)\r\n   -> 0.0003s\r\n-- create_table(:ldapers)\r\n   -> 0.0003s\r\n-- initialize_schema_migrations_table()\r\n   -> 0.0158s\r\n[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.\r\nRun options: --seed 25717\r\n\r\n# Running:\r\n\r\n...............F...\r\n\r\nFinished in 2.063658s, 9.2070 runs/s, 42.6427 assertions/s.\r\n\r\n  1) Failure:\r\nActsAsAuthenticTest::PasswordTest#test_validates_length_of_password [test/acts_as_authentic_test/password_test.rb:116]:\r\nFailed assertion, no message given.\r\n\r\n19 runs, 88 assertions, 1 failures, 0 errors, 0 skips\r\n```"},"comment":{"url":"https://api.github.com/repos/binarylogic/authlogic/issues/comments/73609114","html_url":"https://github.com/binarylogic/authlogic/issues/423#issuecomment-73609114","issue_url":"https://api.github.com/repos/binarylogic/authlogic/issues/423","id":73609114,"user":{"login":"lukeasrodgers","id":816444,"avatar_url":"https://avatars.githubusercontent.com/u/816444?v=3","gravatar_id":"","url":"https://api.github.com/users/lukeasrodgers","html_url":"https://github.com/lukeasrodgers","followers_url":"https://api.github.com/users/lukeasrodgers/followers","following_url":"https://api.github.com/users/lukeasrodgers/following{/other_user}","gists_url":"https://api.github.com/users/lukeasrodgers/gists{/gist_id}","starred_url":"https://api.github.com/users/lukeasrodgers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukeasrodgers/subscriptions","organizations_url":"https://api.github.com/users/lukeasrodgers/orgs","repos_url":"https://api.github.com/users/lukeasrodgers/repos","events_url":"https://api.github.com/users/lukeasrodgers/events{/privacy}","received_events_url":"https://api.github.com/users/lukeasrodgers/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T22:56:55Z","updated_at":"2015-02-09T22:56:55Z","body":"I think this can be closed -- seems to have been fixed by #435 and #436."}}