Created
December 14, 2011 23:25
-
-
Save luisobo/1479077 to your computer and use it in GitHub Desktop.
Factory girl loading factories twice
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
["/Users/Luis/Documents/Shopkeep/repos/backoffice/test/factories.rb:3:in `<top (required)>'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/command.rb:174:in `eval'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/command.rb:174:in `debug_eval'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/commands/eval.rb:82:in `block in execute'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/commands/eval.rb:19:in `run_with_binding'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/commands/eval.rb:81:in `execute'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/processor.rb:275:in `one_cmd'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/processor.rb:261:in `block (2 levels) in process_commands'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/processor.rb:260:in `each'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/processor.rb:260:in `block in process_commands'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/processor.rb:253:in `catch'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/processor.rb:253:in `process_commands'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/processor.rb:173:in `at_line'", | |
"(eval):5:in `block in at_line'", | |
"<internal:prelude>:10:in `synchronize'", | |
"(eval):3:in `at_line'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug-base19-0.11.25/lib/ruby-debug-base.rb:55:in `at_line'", | |
"/Users/Luis/Documents/Shopkeep/repos/backoffice/test/factories.rb:3:in `<top (required)>'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:235:in `load'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:235:in `block in load'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:227:in `load_dependency'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:235:in `load'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/factory_girl-2.3.2/lib/factory_girl/find_definitions.rb:16:in `block in find_definitions'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/factory_girl-2.3.2/lib/factory_girl/find_definitions.rb:15:in `each'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/factory_girl-2.3.2/lib/factory_girl/find_definitions.rb:15:in `find_definitions'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/factory_girl_rails-1.4.0/lib/factory_girl_rails/railtie.rb:23:in `block in <class:Railtie>'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.7/lib/active_support/lazy_load_hooks.rb:34:in `call'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.7/lib/active_support/lazy_load_hooks.rb:34:in `execute_hook'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.7/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.7/lib/active_support/lazy_load_hooks.rb:42:in `each'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.7/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.7/lib/rails/application/finisher.rb:46:in `block in <module:Finisher>'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.7/lib/rails/initializable.rb:25:in `instance_exec'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.7/lib/rails/initializable.rb:25:in `run'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.7/lib/rails/initializable.rb:50:in `block in run_initializers'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.7/lib/rails/initializable.rb:49:in `each'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.7/lib/rails/initializable.rb:49:in `run_initializers'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.7/lib/rails/application.rb:134:in `initialize!'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.7/lib/rails/application.rb:77:in `method_missing'", | |
"/Users/Luis/Documents/Shopkeep/repos/backoffice/config/environment.rb:8:in `<top (required)>'", | |
"/Users/Luis/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'", | |
"/Users/Luis/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'", | |
"/Users/Luis/Documents/Shopkeep/repos/backoffice/spec/spec_helper.rb:3:in `<top (required)>'", | |
"/Users/Luis/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'", | |
"/Users/Luis/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'", | |
"/Users/Luis/Documents/Shopkeep/repos/backoffice/spec/controllers/application_ws_controller_spec.rb:15:in `<top (required)>'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in `load'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in `block in load_spec_files'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in `map'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in `load_spec_files'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:18:in `run'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:80:in `run_in_process'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:69:in `run'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:10:in `block in autorun'"] |
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
["/Users/Luis/Documents/Shopkeep/repos/backoffice/test/factories.rb:3:in `<top (required)>'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/command.rb:174:in `eval'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/command.rb:174:in `debug_eval'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/commands/eval.rb:82:in `block in execute'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/commands/eval.rb:19:in `run_with_binding'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/commands/eval.rb:81:in `execute'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/processor.rb:275:in `one_cmd'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/processor.rb:261:in `block (2 levels) in process_commands'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/processor.rb:260:in `each'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/processor.rb:260:in `block in process_commands'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/processor.rb:253:in `catch'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/processor.rb:253:in `process_commands'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6/cli/ruby-debug/processor.rb:173:in `at_line'", | |
"(eval):5:in `block in at_line'", | |
"<internal:prelude>:10:in `synchronize'", | |
"(eval):3:in `at_line'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug-base19-0.11.25/lib/ruby-debug-base.rb:55:in `at_line'", | |
"/Users/Luis/Documents/Shopkeep/repos/backoffice/test/factories.rb:3:in `<top (required)>'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:235:in `load'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:235:in `block in load'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:227:in `load_dependency'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:235:in `load'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/factory_girl-2.3.2/lib/factory_girl/find_definitions.rb:16:in `block in find_definitions'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/factory_girl-2.3.2/lib/factory_girl/find_definitions.rb:15:in `each'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/factory_girl-2.3.2/lib/factory_girl/find_definitions.rb:15:in `find_definitions'", | |
"/Users/Luis/Documents/Shopkeep/repos/backoffice/spec/spec_helper.rb:20:in `<top (required)>'", | |
"/Users/Luis/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'", | |
"/Users/Luis/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'", | |
"/Users/Luis/Documents/Shopkeep/repos/backoffice/spec/controllers/application_ws_controller_spec.rb:15:in `<top (required)>'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in `load'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in `block in load_spec_files'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in `map'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in `load_spec_files'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:18:in `run'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:80:in `run_in_process'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:69:in `run'", | |
"/Users/Luis/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:10:in `block in autorun'"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment