Created
January 17, 2010 19:45
-
-
Save lancecarlson/279538 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
ADAPTER=sqlite3 spec spec/one_to_one_spec.rb | |
Profiling enabled. | |
...F....F....F........F. | |
Top 10 slowest examples: | |
0.0558030 Person.has(1, :profile); Person.accepts_nested_attributes_for(:profile, :allow_destroy => true) should allow to delete an existing profile via Person#profile_attributes | |
0.0469530 Person.has(1, :profile); Person.accepts_nested_attributes_for(:profile) should allow to update an existing profile via Person#profile_attributes | |
0.0460890 Person.has(1, :profile); Person.accepts_nested_attributes_for(:profile, :reject_if => lambda { |attrs| true }) should not allow to delete an existing profile via Person#profile_attributes | |
0.0460840 Person.has(1, :profile); Person.accepts_nested_attributes_for(:profile, :allow_destroy => true) should allow to update an existing profile via Person#profile_attributes | |
0.0459970 Person.has(1, :profile); Person.accepts_nested_attributes_for(:profile, :reject_if => lambda { |attrs| false }) should not allow to delete an existing profile via Person#profile_attributes | |
0.0459470 Person.has(1, :profile); Person.accepts_nested_attributes_for(:profile, :allow_destroy => false) should allow to update an existing profile via Person#profile_attributes | |
0.0457230 Person.has(1, :profile); Person.accepts_nested_attributes_for(:profile, :allow_destroy => false) should not allow to delete an existing profile via Person#profile_attributes | |
0.0456040 Person.has(1, :profile); Person.accepts_nested_attributes_for(:profile, :reject_if => lambda { |attrs| true }) should allow to update an existing profile via Person#profile_attributes | |
0.0453170 Person.has(1, :profile); Person.accepts_nested_attributes_for(:profile, :reject_if => lambda { |attrs| false }) should allow to update an existing profile via Person#profile_attributes | |
0.0450590 Person.has(1, :profile); Person.accepts_nested_attributes_for(:profile) should not allow to delete an existing profile via Person#profile_attributes | |
1) | |
'Person.has(1, :profile); Person.accepts_nested_attributes_for(:profile) should perform atomic commits' FAILED | |
expected: 0, | |
got: 1 (using ==) | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/expectations/fail_with.rb:41:in `fail_with' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:39:in `fail_with_message' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:61:in `__delegate_operator' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:51:in `eval_match' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:29:in `==' | |
/Users/lancelotcarlson/Projects/ruby/dm-accepts_nested_attributes/spec/shared/one_to_one_spec.rb:70: | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute' | |
/Users/lancelotcarlson/.rvm/ruby-1.8.7-p174/lib/ruby/1.8/timeout.rb:53:in `timeout' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in `run' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/bin/spec:5: | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/bin/spec:19:in `load' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/bin/spec:19: | |
2) | |
'Person.has(1, :profile); Person.accepts_nested_attributes_for(:profile, :allow_destroy => false) should perform atomic commits' FAILED | |
expected: 0, | |
got: 1 (using ==) | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/expectations/fail_with.rb:41:in `fail_with' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:39:in `fail_with_message' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:61:in `__delegate_operator' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:51:in `eval_match' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:29:in `==' | |
/Users/lancelotcarlson/Projects/ruby/dm-accepts_nested_attributes/spec/shared/one_to_one_spec.rb:70: | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute' | |
/Users/lancelotcarlson/.rvm/ruby-1.8.7-p174/lib/ruby/1.8/timeout.rb:53:in `timeout' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in `run' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/bin/spec:5: | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/bin/spec:19:in `load' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/bin/spec:19: | |
3) | |
'Person.has(1, :profile); Person.accepts_nested_attributes_for(:profile, :allow_destroy => true) should perform atomic commits' FAILED | |
expected: 0, | |
got: 1 (using ==) | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/expectations/fail_with.rb:41:in `fail_with' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:39:in `fail_with_message' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:61:in `__delegate_operator' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:51:in `eval_match' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:29:in `==' | |
/Users/lancelotcarlson/Projects/ruby/dm-accepts_nested_attributes/spec/shared/one_to_one_spec.rb:70: | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute' | |
/Users/lancelotcarlson/.rvm/ruby-1.8.7-p174/lib/ruby/1.8/timeout.rb:53:in `timeout' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in `run' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/bin/spec:5: | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/bin/spec:19:in `load' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/bin/spec:19: | |
4) | |
'Person.has(1, :profile); Person.accepts_nested_attributes_for(:profile, :reject_if => lambda { |attrs| false }) should perform atomic commits' FAILED | |
expected: 0, | |
got: 1 (using ==) | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/expectations/fail_with.rb:41:in `fail_with' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:39:in `fail_with_message' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:61:in `__delegate_operator' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:51:in `eval_match' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:29:in `==' | |
/Users/lancelotcarlson/Projects/ruby/dm-accepts_nested_attributes/spec/shared/one_to_one_spec.rb:70: | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute' | |
/Users/lancelotcarlson/.rvm/ruby-1.8.7-p174/lib/ruby/1.8/timeout.rb:53:in `timeout' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in `run' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/gems/rspec-1.2.9/bin/spec:5: | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/bin/spec:19:in `load' | |
/Users/lancelotcarlson/.rvm/gems/ruby/1.8.7/bin/spec:19: | |
Finished in 1.021109 seconds | |
24 examples, 4 failures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment