Created
April 22, 2009 16:52
-
-
Save andreierdoss/99912 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(in /home/andrei/Desktop/tog_to_232) | |
(in /home/andrei/Desktop/tog_to_232/vendor/plugins/tog_core) | |
Adding [:mail_user_observer, :user_observer] to [] | |
Loaded suite /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader | |
Started | |
................F................................F... | |
Finished in 6.108315 seconds. | |
1) Failure: | |
test: The Tog config system when setting a value for a key should change "Tog::Config.count" by 1. (ConfigTest) | |
[/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/macros.rb:43:in `__bind_1240416169_257112' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:253:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:253:in `test: The Tog config system when setting a value for a key should change "Tog::Config.count" by 1. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run']: | |
"Tog::Config.count" did not change. | |
<1> expected to be != to | |
<1>. | |
2) Failure: | |
test: The Tog search given multiple search sources and a term when searching the returned collection should have a per_page size based on Tog::Config. (SearchTest) | |
[/test/unit/search_test.rb:42:in `__bind_1240416173_440668' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:253:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:253:in `test: The Tog search given multiple search sources and a term when searching the returned collection should have a per_page size based on Tog::Config. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run']: | |
30. | |
<nil> is not true. | |
53 tests, 100 assertions, 2 failures, 0 errors | |
(in /home/andrei/Desktop/tog_to_232/vendor/plugins/tog_user) | |
Adding [:mail_user_observer, :user_observer] to [] | |
Loaded suite /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader | |
Started | |
EE | |
Finished in 0.097287 seconds. | |
1) Error: | |
test: A User that has forgotten his password should generate a password_reset_code. (UserTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/user_test.rb:7:in `__bind_1240416176_860847' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A User that has forgotten his password should generate a password_reset_code. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
2) Error: | |
test: A User that has forgotten his password should receive an email with a link to reset the password. (UserTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/user_test.rb:7:in `__bind_1240416176_952800' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A User that has forgotten his password should receive an email with a link to reset the password. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
2 tests, 0 assertions, 0 failures, 2 errors | |
(in /home/andrei/Desktop/tog_to_232/vendor/plugins/tog_social) | |
Adding [:mail_user_observer, :user_observer] to [] | |
Loaded suite /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader | |
Started | |
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE................................... | |
Finished in 7.799689 seconds. | |
1) Error: | |
test: A Group should allow a user to share a resource with it. (GroupTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/group_test.rb:7:in `__bind_1240416180_803353' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A Group should allow a user to share a resource with it. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
2) Error: | |
test: A Group should allow give moderator rights. (GroupTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/group_test.rb:7:in `__bind_1240416180_965026' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A Group should allow give moderator rights. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
3) Error: | |
test: A Group should allow revoke moderator rights. (GroupTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/group_test.rb:7:in `__bind_1240416180_970137' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A Group should allow revoke moderator rights. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
4) Error: | |
test: A Group should not be included in the 'active' named_scope by default. (GroupTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/group_test.rb:7:in `__bind_1240416180_975184' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A Group should not be included in the 'active' named_scope by default. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
5) Error: | |
test: A Group should not be included in the search results by default. (GroupTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/group_test.rb:7:in `__bind_1240416180_980124' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A Group should not be included in the search results by default. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
6) Error: | |
test: A Group should should allow to join directly. (GroupTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/group_test.rb:7:in `__bind_1240416180_985239' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A Group should should allow to join directly. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
7) Error: | |
test: A Group that is active should be included in the 'active' named_scope. (GroupTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/group_test.rb:7:in `__bind_1240416180_990224' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A Group that is active should be included in the 'active' named_scope. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
8) Error: | |
test: A Group that is active should be included in the search results. (GroupTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/group_test.rb:7:in `__bind_1240416180_995208' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A Group that is active should be included in the search results. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
9) Error: | |
test: A Group that is moderated should not allow to join directly. (GroupTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/group_test.rb:7:in `__bind_1240416181_867' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A Group that is moderated should not allow to join directly. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
10) Error: | |
test: A regular user in a moderated group when joining should redirect to group_url(@pornfans). (GroupsControllerTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/functional/groups_controller_test.rb:11:in `__bind_1240416181_5885' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:261:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A regular user in a moderated group when joining should redirect to group_url(@pornfans). ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
11) Error: | |
test: A regular user in a moderated group when joining should send an email to the group's admin. (GroupsControllerTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/functional/groups_controller_test.rb:11:in `__bind_1240416181_96636' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:261:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A regular user in a moderated group when joining should send an email to the group's admin. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
12) Error: | |
test: A regular user in a moderated group when joining should set the flash to /You request has been received. Moderators of this group will make a decision soon./i. (GroupsControllerTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/functional/groups_controller_test.rb:11:in `__bind_1240416181_101943' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:261:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A regular user in a moderated group when joining should set the flash to /You request has been received. Moderators of this group will make a decision soon/i. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
13) Error: | |
test: A regular user in a non-moderated group when joining should redirect to group_url(@pornfans). (GroupsControllerTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/functional/groups_controller_test.rb:11:in `__bind_1240416181_107177' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:261:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A regular user in a non-moderated group when joining should redirect to group_url(@pornfans). ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
14) Error: | |
test: A regular user in a non-moderated group when joining should set the flash to /Welcome to the group 'Porn without frontiers'. Enjoy your participation!/i. (GroupsControllerTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/functional/groups_controller_test.rb:11:in `__bind_1240416181_112378' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:261:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A regular user in a non-moderated group when joining should set the flash to /Welcome to the group 'Porn without frontiers'. Enjoy your participation!/i. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
15) Error: | |
test: A logged user on POST to :add_friend should follow to friend. (Member::FriendshipsControllerTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/functional/member/friendships_controller_test.rb:7:in `__bind_1240416181_153524' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A logged user on POST to :add_friend should follow to friend. ' | |
16) Error: | |
test: A logged user on POST to :add_friend should send an info message. (Member::FriendshipsControllerTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/functional/member/friendships_controller_test.rb:7:in `__bind_1240416181_159893' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A logged user on POST to :add_friend should send an info message. ' | |
17) Error: | |
test: A logged user on POST to :add_friend should set the flash to "You have added chavez as your contact". (Member::FriendshipsControllerTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/functional/member/friendships_controller_test.rb:7:in `__bind_1240416181_165846' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A logged user on POST to :add_friend should set the flash to "You have added chavez as your contact". ' | |
18) Error: | |
test: A logged user on POST to :confirm_friend should be friends. (Member::FriendshipsControllerTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/functional/member/friendships_controller_test.rb:7:in `__bind_1240416181_171720' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A logged user on POST to :confirm_friend should be friends. ' | |
19) Error: | |
test: A logged user on POST to :confirm_friend should send an confirmation message. (Member::FriendshipsControllerTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/functional/member/friendships_controller_test.rb:7:in `__bind_1240416181_177548' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A logged user on POST to :confirm_friend should send an confirmation message. ' | |
20) Error: | |
test: A logged user on POST to :confirm_friend should set the flash to "You have confirmed your friendship with berlusconi". (Member::FriendshipsControllerTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/functional/member/friendships_controller_test.rb:7:in `__bind_1240416181_183357' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A logged user on POST to :confirm_friend should set the flash to "You have confirmed your friendship with berlusconi". ' | |
21) Error: | |
test: A Profile should allow to add a follower twice with no side effects. (ProfileTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/profile_test.rb:6:in `__bind_1240416181_188844' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A Profile should allow to add a follower twice with no side effects. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
22) Error: | |
test: A Profile should allow to add a follower. (ProfileTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/profile_test.rb:6:in `__bind_1240416181_193860' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A Profile should allow to add a follower. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
23) Error: | |
test: A Profile should allow to add a friend. (ProfileTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/profile_test.rb:6:in `__bind_1240416181_198752' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A Profile should allow to add a friend. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
24) Error: | |
test: A Profile should allow to remove a follower. (ProfileTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/profile_test.rb:6:in `__bind_1240416181_203658' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A Profile should allow to remove a follower. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
25) Error: | |
test: A Profile should allow to remove a following. (ProfileTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/profile_test.rb:6:in `__bind_1240416181_208588' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A Profile should allow to remove a following. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
26) Error: | |
test: A Profile should allow to remove a friend. (ProfileTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/profile_test.rb:6:in `__bind_1240416181_213499' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A Profile should allow to remove a friend. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
27) Error: | |
test: A Profile should allow unidirectional remove_followings on a friendship created through a two-step follow process. (ProfileTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/profile_test.rb:6:in `__bind_1240416181_218412' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A Profile should allow unidirectional remove_followings on a friendship created through a two-step follow process. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
28) Error: | |
test: A Profile should allow unidirectional remove_followings on a friendship. (ProfileTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/profile_test.rb:6:in `__bind_1240416181_223325' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A Profile should allow unidirectional remove_followings on a friendship. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
29) Error: | |
test: A Profile should convert a mutual follower relationship between 2 profiles on a friendship. (ProfileTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/profile_test.rb:6:in `__bind_1240416181_228347' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A Profile should convert a mutual follower relationship between 2 profiles on a friendship. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
30) Error: | |
test: A Profile should return full_name correctly base on first_name and last_name. (ProfileTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/profile_test.rb:6:in `__bind_1240416181_233244' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A Profile should return full_name correctly base on first_name and last_name. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
31) Error: | |
test: A Profile should return last_name as full_name if first_name is blank. (ProfileTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/profile_test.rb:6:in `__bind_1240416181_238155' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A Profile should return last_name as full_name if first_name is blank. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
32) Error: | |
test: A Profile should return login as full_name if first name and last name are blank. (ProfileTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/profile_test.rb:6:in `__bind_1240416181_243048' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A Profile should return login as full_name if first name and last name are blank. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
33) Error: | |
test: A Profile should treat a friendship as a bidirectional relationship. (ProfileTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/profile_test.rb:6:in `__bind_1240416181_247964' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A Profile should treat a friendship as a bidirectional relationship. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
34) Error: | |
test: A Profile should treat a friendship as mutual follower relationship between the 2 profiles. (ProfileTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/profile_test.rb:6:in `__bind_1240416181_252872' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A Profile should treat a friendship as mutual follower relationship between the 2 profiles. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
35) Error: | |
test: A Profile should treat add_follower and add_following as symmetrical relationships. (ProfileTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/profile_test.rb:6:in `__bind_1240416181_257772' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A Profile should treat add_follower and add_following as symmetrical relationships. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
36) Error: | |
test: on GET to :index should assign @profiles. (ProfilesControllerTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/functional/profiles_controller_test.rb:11:in `__bind_1240416181_262726' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: on GET to :index should assign @profiles. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
37) Error: | |
test: on GET to :index should list only active users. (ProfilesControllerTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/functional/profiles_controller_test.rb:11:in `__bind_1240416181_346919' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: on GET to :index should list only active users. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
38) Error: | |
test: on GET to :index should render template :index. (ProfilesControllerTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/functional/profiles_controller_test.rb:11:in `__bind_1240416181_352120' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: on GET to :index should render template :index. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
39) Error: | |
test: on GET to :index should respond with success. (ProfilesControllerTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/functional/profiles_controller_test.rb:11:in `__bind_1240416181_357270' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: on GET to :index should respond with success. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
74 tests, 50 assertions, 0 failures, 39 errors | |
(in /home/andrei/Desktop/tog_to_232/vendor/plugins/tog_mail) | |
Adding [:mail_user_observer, :user_observer] to [] | |
Loaded suite /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader | |
Started | |
EEEEEEEE | |
Finished in 0.166426 seconds. | |
1) Error: | |
test: A logged user on POST to :create to invalid user should not send a message. (Member::MessagesControllerTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/functional/member/messages_controller_test.rb:6:in `__bind_1240416191_693925' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:261:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A logged user on POST to :create to invalid user should not send a message. ' | |
2) Error: | |
test: A logged user on POST to :create to invalid user should render template :new. (Member::MessagesControllerTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/functional/member/messages_controller_test.rb:6:in `__bind_1240416191_805406' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:261:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A logged user on POST to :create to invalid user should render template :new. ' | |
3) Error: | |
test: A logged user on POST to :create to invalid user should set the flash to "You need to tell us who you want to send your message to.". (Member::MessagesControllerTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/functional/member/messages_controller_test.rb:6:in `__bind_1240416191_809512' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:261:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A logged user on POST to :create to invalid user should set the flash to "You need to tell us who you want to send your message to.". ' | |
4) Error: | |
test: A logged user on POST to :create to valid user should send a message. (Member::MessagesControllerTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/functional/member/messages_controller_test.rb:6:in `__bind_1240416191_813573' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:261:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A logged user on POST to :create to valid user should send a message. ' | |
5) Error: | |
test: A logged user on POST to :create to valid user should set the flash to "Message was successfully delivered". (Member::MessagesControllerTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/functional/member/messages_controller_test.rb:6:in `__bind_1240416191_817575' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:261:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A logged user on POST to :create to valid user should set the flash to "Message was successfully delivered". ' | |
6) Error: | |
test: A Message that is dispatched should left a copy on sender's outbox. (MessageTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/message_test.rb:7:in `__bind_1240416191_821170' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A Message that is dispatched should left a copy on sender's outbox. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
7) Error: | |
test: A Message that is dispatched should left the message on receiver's inbox. (MessageTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/message_test.rb:7:in `__bind_1240416191_824721' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A Message that is dispatched should left the message on receiver's inbox. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
8) Error: | |
test: A Message that is dispatched should send a real email copy to the receiver. (MessageTest): | |
ActiveRecord::RecordInvalid: Validation failed: Login . Login already in use, Email . Email already in use | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/proxy/create.rb:5:in `result' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:293:in `run' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:237:in `create' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `send' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl/factory.rb:268:in `default_strategy' | |
/home/andrei/.gem/ruby/1.8/gems/thoughtbot-factory_girl-1.2.1/lib/factory_girl.rb:20:in `Factory' | |
/test/unit/message_test.rb:7:in `__bind_1240416191_828029' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:262:in `run_all_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:266:in `run_parent_setup_blocks' | |
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:250:in `test: A Message that is dispatched should send a real email copy to the receiver. ' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `__send__' | |
mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' | |
8 tests, 0 assertions, 0 failures, 8 errors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment