Why am I getting FactoryGirl wrong number of arguments error?
问题 Having strange behavior from FactoryGirl in non-rails app. getting wrong number of arguments error...don't know why. gideon@thefonso ~/Sites/testing (master)$ rspec spec /Users/gideon/.rvm/gems/ruby-1.9.3-p194/gems/factory_girl-4.1.0/lib/factory_girl/syntax/default.rb:6:in `define': wrong number of arguments (1 for 0) (ArgumentError) from /Users/gideon/Sites/testing/spec/factories.rb:1:in `<top (required)>' Here are the files involved... login_user_spec.rb require_relative '../spec_helper'