Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ bundle exec rake spec --trace
- (in /Users/kimball/surveyor)
- ** Invoke spec (first_time)
- ** Execute spec
- /Users/kimball/.rvm/rubies/ruby-1.9.2-p180/bin/ruby -S bundle exec rspec ./spec/controllers/surveyor_controller_spec.rb ./spec/helpers/surveyor_helper_spec.rb ./spec/lib/benchmark_spec.rb ./spec/lib/common_spec.rb ./spec/lib/parser_spec.rb ./spec/lib/redcap_parser_spec.rb ./spec/lib/unparser_spec.rb ./spec/models/answer_spec.rb ./spec/models/dependency_condition_spec.rb ./spec/models/dependency_spec.rb ./spec/models/question_group_spec.rb ./spec/models/question_spec.rb ./spec/models/response_set_spec.rb ./spec/models/response_spec.rb ./spec/models/survey_section_spec.rb ./spec/models/survey_spec.rb ./spec/models/validation_condition_spec.rb ./spec/models/validation_spec.rb
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/controllers/surveyor_controller_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/controllers/surveyor_controller_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ViewRendering instead. (called from <top (required)> at /Users/kimball/surveyor/spec/controllers/surveyor_controller_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ControllerExampleGroup instead. (called from <top (required)> at /Users/kimball/surveyor/spec/controllers/surveyor_controller_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/helpers/surveyor_helper_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/helpers/surveyor_helper_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ViewAssigns instead. (called from <top (required)> at /Users/kimball/surveyor/spec/helpers/surveyor_helper_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::HelperExampleGroup instead. (called from <top (required)> at /Users/kimball/surveyor/spec/helpers/surveyor_helper_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/lib/benchmark_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/lib/benchmark_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/lib/common_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/lib/common_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/lib/parser_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/lib/parser_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/lib/redcap_parser_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/lib/redcap_parser_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/lib/unparser_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/lib/unparser_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/answer_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/answer_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/dependency_condition_spec.rb:4)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/dependency_condition_spec.rb:4)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/dependency_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/dependency_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/dependency_spec.rb:49)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/dependency_spec.rb:49)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/dependency_spec.rb:81)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/dependency_spec.rb:81)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/question_group_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/question_group_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/question_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/question_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/question_spec.rb:47)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/question_spec.rb:47)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/question_spec.rb:69)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/question_spec.rb:69)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/question_spec.rb:105)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/question_spec.rb:105)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/response_set_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/response_set_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/response_set_spec.rb:207)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/response_set_spec.rb:207)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/response_set_spec.rb:254)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/response_set_spec.rb:254)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/response_set_spec.rb:298)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/response_set_spec.rb:298)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/response_set_spec.rb:330)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/response_set_spec.rb:330)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/response_set_spec.rb:368)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/response_set_spec.rb:368)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/response_set_spec.rb:400)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/response_set_spec.rb:400)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/response_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/response_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/response_spec.rb:81)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/response_spec.rb:81)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/survey_section_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/survey_section_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/survey_section_spec.rb:21)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/survey_section_spec.rb:21)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/survey_spec.rb:4)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/survey_spec.rb:4)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/survey_spec.rb:38)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/survey_spec.rb:38)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/survey_spec.rb:67)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/survey_spec.rb:67)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/validation_condition_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/validation_condition_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/validation_condition_spec.rb:9)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/validation_condition_spec.rb:9)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/validation_condition_spec.rb:55)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/validation_condition_spec.rb:55)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/validation_condition_spec.rb:84)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/validation_condition_spec.rb:84)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/validation_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/validation_spec.rb:3)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/validation_spec.rb:34)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/validation_spec.rb:34)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/validation_spec.rb:54)
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kimball/surveyor/spec/models/validation_spec.rb:54)
- ....................F.FFF.......F.....F.......F.....FFFF........FFFFFFFF...FFFFFFFFFFFFFFFFFF..FFFFF.....FFF....FFFFFF...........FFFFFF....F..............................F.....FFFF.FF...........................
- Failures:
- 1) SurveyorController update my survey: PUT /surveys/XYZ/PDQ should complete the found response set on finish
- Failure/Error: put :update, :survey_code => "XYZ", :response_set_code => "PDQ", :finish => "finish", :r => responses
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, answer_id, string_value
- # ./lib/surveyor/models/response_methods.rb:38:in `initialize'
- # ./lib/surveyor/surveyor_controller_methods.rb:72:in `block in update'
- # ./lib/surveyor/surveyor_controller_methods.rb:69:in `update'
- # ./spec/controllers/surveyor_controller_spec.rb:198:in `do_put_with_finish'
- # ./spec/controllers/surveyor_controller_spec.rb:212:in `block (3 levels) in <top (required)>'
- 2) SurveyorController update my survey with ajax should return an id for new responses
- Failure/Error: xhr :put, :update, :survey_code => "XYZ", :response_set_code => "PDQ", :r => r
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, answer_id
- # ./lib/surveyor/models/response_methods.rb:38:in `initialize'
- # ./lib/surveyor/surveyor_controller_methods.rb:72:in `block in update'
- # ./lib/surveyor/surveyor_controller_methods.rb:69:in `update'
- # ./spec/controllers/surveyor_controller_spec.rb:232:in `do_ajax_put'
- # ./spec/controllers/surveyor_controller_spec.rb:238:in `block (3 levels) in <top (required)>'
- 3) SurveyorController update my survey with ajax should return a delete for when responses are removed
- Failure/Error: r = @response_set.responses.create(:question_id => 4, :answer_id => 14)
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, answer_id
- # ./lib/surveyor/models/response_methods.rb:38:in `initialize'
- # ./spec/controllers/surveyor_controller_spec.rb:249:in `block (3 levels) in <top (required)>'
- 4) SurveyorController update my survey with ajax should return dependencies
- Failure/Error: xhr :put, :update, :survey_code => "XYZ", :response_set_code => "PDQ", :r => r
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, answer_id
- # ./lib/surveyor/models/response_methods.rb:38:in `initialize'
- # ./lib/surveyor/surveyor_controller_methods.rb:72:in `block in update'
- # ./lib/surveyor/surveyor_controller_methods.rb:69:in `update'
- # ./spec/controllers/surveyor_controller_spec.rb:232:in `do_ajax_put'
- # ./spec/controllers/surveyor_controller_spec.rb:262:in `block (3 levels) in <top (required)>'
- 5) SurveyorHelper should find or create responses, with index
- Failure/Error: helper.response_for(rs, q2).attributes.reject{|k,v| k == "api_id"}.should == Response.new(:question => q2, :response_set => rs).attributes.reject{|k,v| k == "api_id"}
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, response_group
- # ./lib/surveyor/models/response_methods.rb:38:in `initialize'
- # ./lib/surveyor/helpers/surveyor_helper_methods.rb:91:in `response_for'
- # ./spec/helpers/surveyor_helper_spec.rb:79:in `block (2 levels) in <top (required)>'
- 6) Surveyor should write thousands of response sets
- Failure/Error: Surveyor::Parser.parse(File.read(File.join(Rails.root, 'surveys', 'kitchen_sink_survey.rb')))
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: title, reference_identifier
- # ./lib/surveyor/parser.rb:26:in `instance_eval'
- # ./lib/surveyor/models/survey_methods.rb:36:in `initialize'
- # ./lib/surveyor/parser.rb:90:in `new'
- # ./lib/surveyor/parser.rb:90:in `parse_and_build'
- # ./lib/surveyor/parser.rb:41:in `method_missing'
- # (eval):1:in `parse'
- # ./lib/surveyor/parser.rb:26:in `instance_eval'
- # ./lib/surveyor/parser.rb:26:in `parse'
- # ./lib/surveyor/parser.rb:13:in `parse'
- # ./spec/lib/benchmark_spec.rb:5:in `block (2 levels) in <top (required)>'
- 7) Surveyor::Parser should return a survey object
- Failure/Error: Surveyor::Parser.new.parse("survey 'hi' do\n end").is_a?(Survey).should be_true
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: title, reference_identifier
- # ./lib/surveyor/parser.rb:26:in `instance_eval'
- # ./lib/surveyor/models/survey_methods.rb:36:in `initialize'
- # ./lib/surveyor/parser.rb:90:in `new'
- # ./lib/surveyor/parser.rb:90:in `parse_and_build'
- # ./lib/surveyor/parser.rb:41:in `method_missing'
- # (eval):1:in `parse'
- # ./lib/surveyor/parser.rb:26:in `instance_eval'
- # ./lib/surveyor/parser.rb:26:in `parse'
- # ./spec/lib/parser_spec.rb:29:in `block (2 levels) in <top (required)>'
- 8) Surveyor::RedcapParser should return a survey object
- Failure/Error: Surveyor::RedcapParser.new.parse(x, "redcaptest").is_a?(Survey).should be_true
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: title
- # ./lib/surveyor/models/survey_methods.rb:36:in `initialize'
- # ./lib/surveyor/redcap_parser.rb:28:in `new'
- # ./lib/surveyor/redcap_parser.rb:28:in `block in parse'
- # ./lib/surveyor/redcap_parser.rb:25:in `parse'
- # ./spec/lib/redcap_parser_spec.rb:72:in `block (2 levels) in <top (required)>'
- 9) Surveyor::Unparser should unparse a basic survey, section, and question
- Failure/Error: @survey = Survey.new(:title => "Simple survey", :description => "very simple")
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: title, description
- # ./lib/surveyor/models/survey_methods.rb:36:in `initialize'
- # ./spec/lib/unparser_spec.rb:5:in `new'
- # ./spec/lib/unparser_spec.rb:5:in `block (2 levels) in <top (required)>'
- 10) Surveyor::Unparser should unparse groups
- Failure/Error: @survey = Survey.new(:title => "Simple survey", :description => "very simple")
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: title, description
- # ./lib/surveyor/models/survey_methods.rb:36:in `initialize'
- # ./spec/lib/unparser_spec.rb:5:in `new'
- # ./spec/lib/unparser_spec.rb:5:in `block (2 levels) in <top (required)>'
- 11) Surveyor::Unparser should unparse a basic survey, section, and question
- Failure/Error: @survey = Survey.new(:title => "Simple survey", :description => "very simple")
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: title, description
- # ./lib/surveyor/models/survey_methods.rb:36:in `initialize'
- # ./spec/lib/unparser_spec.rb:5:in `new'
- # ./spec/lib/unparser_spec.rb:5:in `block (2 levels) in <top (required)>'
- 12) DependencyCondition instance should be valid
- Failure/Error: @dependency_condition = DependencyCondition.new(
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: dependency_id, question_id, operator, answer_id, rule_key
- # ./spec/models/dependency_condition_spec.rb:13:in `new'
- # ./spec/models/dependency_condition_spec.rb:13:in `block (3 levels) in <top (required)>'
- 13) DependencyCondition instance should be invalid without a parent dependency_id, question_id
- Failure/Error: @dependency_condition = DependencyCondition.new(
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: dependency_id, question_id, operator, answer_id, rule_key
- # ./spec/models/dependency_condition_spec.rb:13:in `new'
- # ./spec/models/dependency_condition_spec.rb:13:in `block (3 levels) in <top (required)>'
- 14) DependencyCondition instance should be invalid without an operator
- Failure/Error: @dependency_condition = DependencyCondition.new(
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: dependency_id, question_id, operator, answer_id, rule_key
- # ./spec/models/dependency_condition_spec.rb:13:in `new'
- # ./spec/models/dependency_condition_spec.rb:13:in `block (3 levels) in <top (required)>'
- 15) DependencyCondition instance should be invalid without a rule_key
- Failure/Error: @dependency_condition = DependencyCondition.new(
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: dependency_id, question_id, operator, answer_id, rule_key
- # ./spec/models/dependency_condition_spec.rb:13:in `new'
- # ./spec/models/dependency_condition_spec.rb:13:in `block (3 levels) in <top (required)>'
- 16) DependencyCondition instance should have unique rule_key within the context of a dependency
- Failure/Error: @dependency_condition = DependencyCondition.new(
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: dependency_id, question_id, operator, answer_id, rule_key
- # ./spec/models/dependency_condition_spec.rb:13:in `new'
- # ./spec/models/dependency_condition_spec.rb:13:in `block (3 levels) in <top (required)>'
- 17) DependencyCondition instance should have an operator in DependencyCondition.operators
- Failure/Error: @dependency_condition = DependencyCondition.new(
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: dependency_id, question_id, operator, answer_id, rule_key
- # ./spec/models/dependency_condition_spec.rb:13:in `new'
- # ./spec/models/dependency_condition_spec.rb:13:in `block (3 levels) in <top (required)>'
- 18) DependencyCondition instance should evaluate within the context of a response set object
- Failure/Error: @dependency_condition = DependencyCondition.new(
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: dependency_id, question_id, operator, answer_id, rule_key
- # ./spec/models/dependency_condition_spec.rb:13:in `new'
- # ./spec/models/dependency_condition_spec.rb:13:in `block (3 levels) in <top (required)>'
- 19) DependencyCondition instance converts to a hash for evaluation by the dependency object
- Failure/Error: @dependency_condition = DependencyCondition.new(
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: dependency_id, question_id, operator, answer_id, rule_key
- # ./spec/models/dependency_condition_spec.rb:13:in `new'
- # ./spec/models/dependency_condition_spec.rb:13:in `block (3 levels) in <top (required)>'
- 20) DependencyCondition when if given a response object whether the dependency is satisfied using '==' knows checkbox/radio type response
- Failure/Error: @select_answer = Answer.new(:question_id => 1, :response_class => "answer").
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, response_class
- # ./lib/surveyor/models/answer_methods.rb:29:in `initialize'
- # ./spec/models/dependency_condition_spec.rb:117:in `new'
- # ./spec/models/dependency_condition_spec.rb:117:in `block (3 levels) in <top (required)>'
- 21) DependencyCondition when if given a response object whether the dependency is satisfied using '==' knows string value response
- Failure/Error: @select_answer = Answer.new(:question_id => 1, :response_class => "answer").
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, response_class
- # ./lib/surveyor/models/answer_methods.rb:29:in `initialize'
- # ./spec/models/dependency_condition_spec.rb:117:in `new'
- # ./spec/models/dependency_condition_spec.rb:117:in `block (3 levels) in <top (required)>'
- 22) DependencyCondition when if given a response object whether the dependency is satisfied using '==' knows a text value response
- Failure/Error: @select_answer = Answer.new(:question_id => 1, :response_class => "answer").
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, response_class
- # ./lib/surveyor/models/answer_methods.rb:29:in `initialize'
- # ./spec/models/dependency_condition_spec.rb:117:in `new'
- # ./spec/models/dependency_condition_spec.rb:117:in `block (3 levels) in <top (required)>'
- 23) DependencyCondition when if given a response object whether the dependency is satisfied using '==' knows an integer value response
- Failure/Error: @select_answer = Answer.new(:question_id => 1, :response_class => "answer").
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, response_class
- # ./lib/surveyor/models/answer_methods.rb:29:in `initialize'
- # ./spec/models/dependency_condition_spec.rb:117:in `new'
- # ./spec/models/dependency_condition_spec.rb:117:in `block (3 levels) in <top (required)>'
- 24) DependencyCondition when if given a response object whether the dependency is satisfied using '==' knows a float value response
- Failure/Error: @select_answer = Answer.new(:question_id => 1, :response_class => "answer").
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, response_class
- # ./lib/surveyor/models/answer_methods.rb:29:in `initialize'
- # ./spec/models/dependency_condition_spec.rb:117:in `new'
- # ./spec/models/dependency_condition_spec.rb:117:in `block (3 levels) in <top (required)>'
- 25) DependencyCondition when if given a response object whether the dependency is satisfied using '!=' knows checkbox/radio type response
- Failure/Error: @select_answer = Answer.new(:question_id => 1, :response_class => "answer").
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, response_class
- # ./lib/surveyor/models/answer_methods.rb:29:in `initialize'
- # ./spec/models/dependency_condition_spec.rb:173:in `new'
- # ./spec/models/dependency_condition_spec.rb:173:in `block (3 levels) in <top (required)>'
- 26) DependencyCondition when if given a response object whether the dependency is satisfied using '!=' knows string value response
- Failure/Error: @select_answer = Answer.new(:question_id => 1, :response_class => "answer").
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, response_class
- # ./lib/surveyor/models/answer_methods.rb:29:in `initialize'
- # ./spec/models/dependency_condition_spec.rb:173:in `new'
- # ./spec/models/dependency_condition_spec.rb:173:in `block (3 levels) in <top (required)>'
- 27) DependencyCondition when if given a response object whether the dependency is satisfied using '!=' knows a text value response
- Failure/Error: @select_answer = Answer.new(:question_id => 1, :response_class => "answer").
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, response_class
- # ./lib/surveyor/models/answer_methods.rb:29:in `initialize'
- # ./spec/models/dependency_condition_spec.rb:173:in `new'
- # ./spec/models/dependency_condition_spec.rb:173:in `block (3 levels) in <top (required)>'
- 28) DependencyCondition when if given a response object whether the dependency is satisfied using '!=' knows an integer value response
- Failure/Error: @select_answer = Answer.new(:question_id => 1, :response_class => "answer").
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, response_class
- # ./lib/surveyor/models/answer_methods.rb:29:in `initialize'
- # ./spec/models/dependency_condition_spec.rb:173:in `new'
- # ./spec/models/dependency_condition_spec.rb:173:in `block (3 levels) in <top (required)>'
- 29) DependencyCondition when if given a response object whether the dependency is satisfied using '!=' knows a float value response
- Failure/Error: @select_answer = Answer.new(:question_id => 1, :response_class => "answer").
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, response_class
- # ./lib/surveyor/models/answer_methods.rb:29:in `initialize'
- # ./spec/models/dependency_condition_spec.rb:173:in `new'
- # ./spec/models/dependency_condition_spec.rb:173:in `block (3 levels) in <top (required)>'
- 30) DependencyCondition when if given a response object whether the dependency is satisfied using '<' knows operator on integer value response
- Failure/Error: @dep_c = DependencyCondition.new(:answer_id => 2, :operator => "<")
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: answer_id, operator
- # ./spec/models/dependency_condition_spec.rb:229:in `new'
- # ./spec/models/dependency_condition_spec.rb:229:in `block (3 levels) in <top (required)>'
- 31) DependencyCondition when if given a response object whether the dependency is satisfied using '<' knows operator on float value response
- Failure/Error: @dep_c = DependencyCondition.new(:answer_id => 2, :operator => "<")
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: answer_id, operator
- # ./spec/models/dependency_condition_spec.rb:229:in `new'
- # ./spec/models/dependency_condition_spec.rb:229:in `block (3 levels) in <top (required)>'
- 32) DependencyCondition when if given a response object whether the dependency is satisfied using '<=' knows operator on integer value response
- Failure/Error: @dep_c = DependencyCondition.new(:answer_id => 2, :operator => "<=")
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: answer_id, operator
- # ./spec/models/dependency_condition_spec.rb:257:in `new'
- # ./spec/models/dependency_condition_spec.rb:257:in `block (3 levels) in <top (required)>'
- 33) DependencyCondition when if given a response object whether the dependency is satisfied using '<=' knows operator on float value response
- Failure/Error: @dep_c = DependencyCondition.new(:answer_id => 2, :operator => "<=")
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: answer_id, operator
- # ./spec/models/dependency_condition_spec.rb:257:in `new'
- # ./spec/models/dependency_condition_spec.rb:257:in `block (3 levels) in <top (required)>'
- 34) DependencyCondition when if given a response object whether the dependency is satisfied using '>' knows operator on integer value response
- Failure/Error: @dep_c = DependencyCondition.new(:answer_id => 2, :operator => ">")
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: answer_id, operator
- # ./spec/models/dependency_condition_spec.rb:290:in `new'
- # ./spec/models/dependency_condition_spec.rb:290:in `block (3 levels) in <top (required)>'
- 35) DependencyCondition when if given a response object whether the dependency is satisfied using '>' knows operator on float value response
- Failure/Error: @dep_c = DependencyCondition.new(:answer_id => 2, :operator => ">")
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: answer_id, operator
- # ./spec/models/dependency_condition_spec.rb:290:in `new'
- # ./spec/models/dependency_condition_spec.rb:290:in `block (3 levels) in <top (required)>'
- 36) DependencyCondition when if given a response object whether the dependency is satisfied using '>=' knows operator on integer value response
- Failure/Error: @dep_c = DependencyCondition.new(:answer_id => 2, :operator => ">=")
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: answer_id, operator
- # ./spec/models/dependency_condition_spec.rb:318:in `new'
- # ./spec/models/dependency_condition_spec.rb:318:in `block (3 levels) in <top (required)>'
- 37) DependencyCondition when if given a response object whether the dependency is satisfied using '>=' knows operator on float value response
- Failure/Error: @dep_c = DependencyCondition.new(:answer_id => 2, :operator => ">=")
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: answer_id, operator
- # ./spec/models/dependency_condition_spec.rb:318:in `new'
- # ./spec/models/dependency_condition_spec.rb:318:in `block (3 levels) in <top (required)>'
- 38) DependencyCondition when given responses whether the dependency is satisfied using 'count' knows operator with >
- Failure/Error: @dep_c = DependencyCondition.new(:answer_id => nil,
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: answer_id, operator
- # ./spec/models/dependency_condition_spec.rb:379:in `new'
- # ./spec/models/dependency_condition_spec.rb:379:in `block (3 levels) in <top (required)>'
- 39) DependencyCondition when given responses whether the dependency is satisfied using 'count' knows operator with <
- Failure/Error: @dep_c = DependencyCondition.new(:answer_id => nil,
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: answer_id, operator
- # ./spec/models/dependency_condition_spec.rb:379:in `new'
- # ./spec/models/dependency_condition_spec.rb:379:in `block (3 levels) in <top (required)>'
- 40) DependencyCondition when given responses whether the dependency is satisfied using 'count' knows operator with <=
- Failure/Error: @dep_c = DependencyCondition.new(:answer_id => nil,
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: answer_id, operator
- # ./spec/models/dependency_condition_spec.rb:379:in `new'
- # ./spec/models/dependency_condition_spec.rb:379:in `block (3 levels) in <top (required)>'
- 41) DependencyCondition when given responses whether the dependency is satisfied using 'count' knows operator with >=
- Failure/Error: @dep_c = DependencyCondition.new(:answer_id => nil,
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: answer_id, operator
- # ./spec/models/dependency_condition_spec.rb:379:in `new'
- # ./spec/models/dependency_condition_spec.rb:379:in `block (3 levels) in <top (required)>'
- 42) DependencyCondition when given responses whether the dependency is satisfied using 'count' knows operator with !=
- Failure/Error: @dep_c = DependencyCondition.new(:answer_id => nil,
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: answer_id, operator
- # ./spec/models/dependency_condition_spec.rb:379:in `new'
- # ./spec/models/dependency_condition_spec.rb:379:in `block (3 levels) in <top (required)>'
- 43) Dependency when evaluating dependency conditions of a question in a response set knows if the dependencies are met
- Failure/Error: @dep = Dependency.new(:rule => "A", :question_id => 1)
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: rule, question_id
- # ./spec/models/dependency_spec.rb:52:in `new'
- # ./spec/models/dependency_spec.rb:52:in `block (2 levels) in <top (required)>'
- 44) Dependency when evaluating dependency conditions of a question in a response set returns the proper keyed pairs from the dependency conditions
- Failure/Error: @dep = Dependency.new(:rule => "A", :question_id => 1)
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: rule, question_id
- # ./spec/models/dependency_spec.rb:52:in `new'
- # ./spec/models/dependency_spec.rb:52:in `block (2 levels) in <top (required)>'
- 45) Dependency with conditions should destroy conditions when destroyed
- Failure/Error: @dependency = Dependency.new(:rule => "A and B and C", :question_id => 1)
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: rule, question_id
- # ./spec/models/dependency_spec.rb:83:in `new'
- # ./spec/models/dependency_spec.rb:83:in `block (2 levels) in <top (required)>'
- 46) Question when creating a new question should be invalid without text
- Failure/Error: @question = Question.new(:text => "What is your favorite color?", :survey_section => @ss, :is_mandatory => true, :display_order => 1)
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: text, survey_section, is_mandatory, display_order
- # ./lib/surveyor/models/question_methods.rb:34:in `initialize'
- # ./spec/models/question_spec.rb:6:in `new'
- # ./spec/models/question_spec.rb:6:in `block (2 levels) in <top (required)>'
- 47) Question when creating a new question should have a parent survey section
- Failure/Error: @question = Question.new(:text => "What is your favorite color?", :survey_section => @ss, :is_mandatory => true, :display_order => 1)
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: text, survey_section, is_mandatory, display_order
- # ./lib/surveyor/models/question_methods.rb:34:in `initialize'
- # ./spec/models/question_spec.rb:6:in `new'
- # ./spec/models/question_spec.rb:6:in `block (2 levels) in <top (required)>'
- 48) Question when creating a new question should be mandatory by default
- Failure/Error: @question = Question.new(:text => "What is your favorite color?", :survey_section => @ss, :is_mandatory => true, :display_order => 1)
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: text, survey_section, is_mandatory, display_order
- # ./lib/surveyor/models/question_methods.rb:34:in `initialize'
- # ./spec/models/question_spec.rb:6:in `new'
- # ./spec/models/question_spec.rb:6:in `block (2 levels) in <top (required)>'
- 49) Question when creating a new question should convert pick attribute to string
- Failure/Error: @question = Question.new(:text => "What is your favorite color?", :survey_section => @ss, :is_mandatory => true, :display_order => 1)
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: text, survey_section, is_mandatory, display_order
- # ./lib/surveyor/models/question_methods.rb:34:in `initialize'
- # ./spec/models/question_spec.rb:6:in `new'
- # ./spec/models/question_spec.rb:6:in `block (2 levels) in <top (required)>'
- 50) Question when creating a new question should split the text
- Failure/Error: @question = Question.new(:text => "What is your favorite color?", :survey_section => @ss, :is_mandatory => true, :display_order => 1)
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: text, survey_section, is_mandatory, display_order
- # ./lib/surveyor/models/question_methods.rb:34:in `initialize'
- # ./spec/models/question_spec.rb:6:in `new'
- # ./spec/models/question_spec.rb:6:in `block (2 levels) in <top (required)>'
- 51) Question when creating a new question should have an api_id
- Failure/Error: @question = Question.new(:text => "What is your favorite color?", :survey_section => @ss, :is_mandatory => true, :display_order => 1)
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: text, survey_section, is_mandatory, display_order
- # ./lib/surveyor/models/question_methods.rb:34:in `initialize'
- # ./spec/models/question_spec.rb:6:in `new'
- # ./spec/models/question_spec.rb:6:in `block (2 levels) in <top (required)>'
- 52) ResponseSet should save new responses from radio buttons, ignoring blanks
- Failure/Error: @response_set.update_attributes(:responses_attributes => ResponseSet.to_savable(@radio_response_attributes))
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, answer_id, string_value
- # ./lib/surveyor/models/response_methods.rb:38:in `initialize'
- # ./spec/models/response_set_spec.rb:67:in `block (2 levels) in <top (required)>'
- 53) ResponseSet should save new responses from other types, ignoring blanks
- Failure/Error: @response_set.update_attributes(:responses_attributes => ResponseSet.to_savable(@other_response_attributes))
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, answer_id, text_value
- # ./lib/surveyor/models/response_methods.rb:38:in `initialize'
- # ./spec/models/response_set_spec.rb:73:in `block (2 levels) in <top (required)>'
- 54) ResponseSet saves its responses
- Failure/Error: new_set.responses.build(:question_id => 1, :answer_id => 1, :string_value => 'XXL')
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, answer_id, string_value
- # ./lib/surveyor/models/response_methods.rb:38:in `initialize'
- # ./spec/models/response_set_spec.rb:80:in `block (2 levels) in <top (required)>'
- 55) ResponseSet should ignore data if corresponding radio button is not selected
- Failure/Error: @response_set.update_attributes(:responses_attributes => ResponseSet.to_savable(@radio_response_attributes))
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, answer_id, string_value
- # ./lib/surveyor/models/response_methods.rb:38:in `initialize'
- # ./spec/models/response_set_spec.rb:87:in `block (2 levels) in <top (required)>'
- 56) ResponseSet should preserve response ids in checkboxes when adding another checkbox
- Failure/Error: @response_set.update_attributes(:responses_attributes => ResponseSet.to_savable(@checkbox_response_attributes))
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, answer_id
- # ./lib/surveyor/models/response_methods.rb:38:in `initialize'
- # ./spec/models/response_set_spec.rb:93:in `block (2 levels) in <top (required)>'
- 57) ResponseSet should preserve response ids in checkboxes when removing another checkbox
- Failure/Error: @response_set.update_attributes(:responses_attributes => ResponseSet.to_savable(@checkbox_response_attributes))
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, answer_id
- # ./lib/surveyor/models/response_methods.rb:38:in `initialize'
- # ./spec/models/response_set_spec.rb:103:in `block (2 levels) in <top (required)>'
- 58) ResponseSet should remove responses
- Failure/Error: r = @response_set.responses.create(:question_id => 1, :answer_id => 2)
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, answer_id
- # ./lib/surveyor/models/response_methods.rb:38:in `initialize'
- # ./spec/models/response_set_spec.rb:198:in `block (2 levels) in <top (required)>'
- 59) Response when saving a response returns the response as the type requested returns empty elements if the response is cast as a type that is not present
- Failure/Error: resp = Response.new(:question_id => 314, :response_set_id => 156)
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: question_id, response_set_id
- # ./lib/surveyor/models/response_methods.rb:38:in `initialize'
- # ./spec/models/response_spec.rb:71:in `new'
- # ./spec/models/response_spec.rb:71:in `block (3 levels) in <top (required)>'
- 60) SurveySection when saving a survey_section should be invalid without title
- Failure/Error: @survey_section = SurveySection.new(@valid_attributes)
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: title, survey_id, display_order
- # ./lib/surveyor/models/survey_section_methods.rb:26:in `initialize'
- # ./spec/models/survey_section_spec.rb:6:in `new'
- # ./spec/models/survey_section_spec.rb:6:in `block (2 levels) in <top (required)>'
- 61) SurveySection when saving a survey_section should have a parent survey
- Failure/Error: @survey_section = SurveySection.new(@valid_attributes)
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: title, survey_id, display_order
- # ./lib/surveyor/models/survey_section_methods.rb:26:in `initialize'
- # ./spec/models/survey_section_spec.rb:6:in `new'
- # ./spec/models/survey_section_spec.rb:6:in `block (2 levels) in <top (required)>'
- 62) SurveySection with questions should return questions sorted in display order
- Failure/Error: @q1 = @survey_section.questions.create(:text => "Peep", :display_order => 3)
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: text, display_order
- # ./lib/surveyor/models/question_methods.rb:34:in `initialize'
- # ./spec/models/survey_section_spec.rb:24:in `block (2 levels) in <top (required)>'
- 63) SurveySection with questions should delete questions when it is deleted
- Failure/Error: @q1 = @survey_section.questions.create(:text => "Peep", :display_order => 3)
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: text, display_order
- # ./lib/surveyor/models/question_methods.rb:34:in `initialize'
- # ./spec/models/survey_section_spec.rb:24:in `block (2 levels) in <top (required)>'
- 64) Survey when saving a new one should adjust the title to save unique titles
- Failure/Error: original = Survey.new(:title => "Foo")
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: title
- # ./lib/surveyor/models/survey_methods.rb:36:in `initialize'
- # ./spec/models/survey_spec.rb:15:in `new'
- # ./spec/models/survey_spec.rb:15:in `block (2 levels) in <top (required)>'
- 65) Survey when saving a new one should not adjust the title when updating itself
- Failure/Error: original.update_attributes(:title => "Foo")
- ActiveModel::MassAssignmentSecurity::Error:
- Can't mass-assign protected attributes: title
- # ./spec/models/survey_spec.rb:28:in `block (2 levels) in <top (required)>'
- Finished in 9.38 seconds
- 210 examples, 65 failures
- Failed examples:
- rspec ./spec/controllers/surveyor_controller_spec.rb:211 # SurveyorController update my survey: PUT /surveys/XYZ/PDQ should complete the found response set on finish
- rspec ./spec/controllers/surveyor_controller_spec.rb:235 # SurveyorController update my survey with ajax should return an id for new responses
- rspec ./spec/controllers/surveyor_controller_spec.rb:248 # SurveyorController update my survey with ajax should return a delete for when responses are removed
- rspec ./spec/controllers/surveyor_controller_spec.rb:257 # SurveyorController update my survey with ajax should return dependencies
- rspec ./spec/helpers/surveyor_helper_spec.rb:69 # SurveyorHelper should find or create responses, with index
- rspec ./spec/lib/benchmark_spec.rb:4 # Surveyor should write thousands of response sets
- rspec ./spec/lib/parser_spec.rb:28 # Surveyor::Parser should return a survey object
- rspec ./spec/lib/redcap_parser_spec.rb:70 # Surveyor::RedcapParser should return a survey object
- rspec ./spec/lib/unparser_spec.rb:9 # Surveyor::Unparser should unparse a basic survey, section, and question
- rspec ./spec/lib/unparser_spec.rb:37 # Surveyor::Unparser should unparse groups
- rspec ./spec/lib/unparser_spec.rb:80 # Surveyor::Unparser should unparse a basic survey, section, and question
- rspec ./spec/models/dependency_condition_spec.rb:18 # DependencyCondition instance should be valid
- rspec ./spec/models/dependency_condition_spec.rb:22 # DependencyCondition instance should be invalid without a parent dependency_id, question_id
- rspec ./spec/models/dependency_condition_spec.rb:30 # DependencyCondition instance should be invalid without an operator
- rspec ./spec/models/dependency_condition_spec.rb:35 # DependencyCondition instance should be invalid without a rule_key
- rspec ./spec/models/dependency_condition_spec.rb:42 # DependencyCondition instance should have unique rule_key within the context of a dependency
- rspec ./spec/models/dependency_condition_spec.rb:53 # DependencyCondition instance should have an operator in DependencyCondition.operators
- rspec ./spec/models/dependency_condition_spec.rb:62 # DependencyCondition instance should evaluate within the context of a response set object
- rspec ./spec/models/dependency_condition_spec.rb:75 # DependencyCondition instance converts to a hash for evaluation by the dependency object
- rspec ./spec/models/dependency_condition_spec.rb:128 # DependencyCondition when if given a response object whether the dependency is satisfied using '==' knows checkbox/radio type response
- rspec ./spec/models/dependency_condition_spec.rb:134 # DependencyCondition when if given a response object whether the dependency is satisfied using '==' knows string value response
- rspec ./spec/models/dependency_condition_spec.rb:143 # DependencyCondition when if given a response object whether the dependency is satisfied using '==' knows a text value response
- rspec ./spec/models/dependency_condition_spec.rb:152 # DependencyCondition when if given a response object whether the dependency is satisfied using '==' knows an integer value response
- rspec ./spec/models/dependency_condition_spec.rb:161 # DependencyCondition when if given a response object whether the dependency is satisfied using '==' knows a float value response
- rspec ./spec/models/dependency_condition_spec.rb:184 # DependencyCondition when if given a response object whether the dependency is satisfied using '!=' knows checkbox/radio type response
- rspec ./spec/models/dependency_condition_spec.rb:190 # DependencyCondition when if given a response object whether the dependency is satisfied using '!=' knows string value response
- rspec ./spec/models/dependency_condition_spec.rb:199 # DependencyCondition when if given a response object whether the dependency is satisfied using '!=' knows a text value response
- rspec ./spec/models/dependency_condition_spec.rb:208 # DependencyCondition when if given a response object whether the dependency is satisfied using '!=' knows an integer value response
- rspec ./spec/models/dependency_condition_spec.rb:217 # DependencyCondition when if given a response object whether the dependency is satisfied using '!=' knows a float value response
- rspec ./spec/models/dependency_condition_spec.rb:236 # DependencyCondition when if given a response object whether the dependency is satisfied using '<' knows operator on integer value response
- rspec ./spec/models/dependency_condition_spec.rb:245 # DependencyCondition when if given a response object whether the dependency is satisfied using '<' knows operator on float value response
- rspec ./spec/models/dependency_condition_spec.rb:264 # DependencyCondition when if given a response object whether the dependency is satisfied using '<=' knows operator on integer value response
- rspec ./spec/models/dependency_condition_spec.rb:275 # DependencyCondition when if given a response object whether the dependency is satisfied using '<=' knows operator on float value response
- rspec ./spec/models/dependency_condition_spec.rb:297 # DependencyCondition when if given a response object whether the dependency is satisfied using '>' knows operator on integer value response
- rspec ./spec/models/dependency_condition_spec.rb:306 # DependencyCondition when if given a response object whether the dependency is satisfied using '>' knows operator on float value response
- rspec ./spec/models/dependency_condition_spec.rb:325 # DependencyCondition when if given a response object whether the dependency is satisfied using '>=' knows operator on integer value response
- rspec ./spec/models/dependency_condition_spec.rb:336 # DependencyCondition when if given a response object whether the dependency is satisfied using '>=' knows operator on float value response
- rspec ./spec/models/dependency_condition_spec.rb:394 # DependencyCondition when given responses whether the dependency is satisfied using 'count' knows operator with >
- rspec ./spec/models/dependency_condition_spec.rb:402 # DependencyCondition when given responses whether the dependency is satisfied using 'count' knows operator with <
- rspec ./spec/models/dependency_condition_spec.rb:409 # DependencyCondition when given responses whether the dependency is satisfied using 'count' knows operator with <=
- rspec ./spec/models/dependency_condition_spec.rb:418 # DependencyCondition when given responses whether the dependency is satisfied using 'count' knows operator with >=
- rspec ./spec/models/dependency_condition_spec.rb:427 # DependencyCondition when given responses whether the dependency is satisfied using 'count' knows operator with !=
- rspec ./spec/models/dependency_spec.rb:67 # Dependency when evaluating dependency conditions of a question in a response set knows if the dependencies are met
- rspec ./spec/models/dependency_spec.rb:74 # Dependency when evaluating dependency conditions of a question in a response set returns the proper keyed pairs from the dependency conditions
- rspec ./spec/models/dependency_spec.rb:82 # Dependency with conditions should destroy conditions when destroyed
- rspec ./spec/models/question_spec.rb:9 # Question when creating a new question should be invalid without text
- rspec ./spec/models/question_spec.rb:14 # Question when creating a new question should have a parent survey section
- rspec ./spec/models/question_spec.rb:20 # Question when creating a new question should be mandatory by default
- rspec ./spec/models/question_spec.rb:24 # Question when creating a new question should convert pick attribute to string
- rspec ./spec/models/question_spec.rb:32 # Question when creating a new question should split the text
- rspec ./spec/models/question_spec.rb:42 # Question when creating a new question should have an api_id
- rspec ./spec/models/response_set_spec.rb:66 # ResponseSet should save new responses from radio buttons, ignoring blanks
- rspec ./spec/models/response_set_spec.rb:72 # ResponseSet should save new responses from other types, ignoring blanks
- rspec ./spec/models/response_set_spec.rb:78 # ResponseSet saves its responses
- rspec ./spec/models/response_set_spec.rb:86 # ResponseSet should ignore data if corresponding radio button is not selected
- rspec ./spec/models/response_set_spec.rb:92 # ResponseSet should preserve response ids in checkboxes when adding another checkbox
- rspec ./spec/models/response_set_spec.rb:102 # ResponseSet should preserve response ids in checkboxes when removing another checkbox
- rspec ./spec/models/response_set_spec.rb:197 # ResponseSet should remove responses
- rspec ./spec/models/response_spec.rb:70 # Response when saving a response returns the response as the type requested returns empty elements if the response is cast as a type that is not present
- rspec ./spec/models/survey_section_spec.rb:9 # SurveySection when saving a survey_section should be invalid without title
- rspec ./spec/models/survey_section_spec.rb:14 # SurveySection when saving a survey_section should have a parent survey
- rspec ./spec/models/survey_section_spec.rb:29 # SurveySection with questions should return questions sorted in display order
- rspec ./spec/models/survey_section_spec.rb:33 # SurveySection with questions should delete questions when it is deleted
- rspec ./spec/models/survey_spec.rb:14 # Survey when saving a new one should adjust the title to save unique titles
- rspec ./spec/models/survey_spec.rb:25 # Survey when saving a new one should not adjust the title when updating itself
- rake aborted!
- ruby -S bundle exec rspec ./spec/controllers/surveyor_controller_spec.rb ./spec/helpers/surveyor_helper_spec.rb ./spec/lib/benchmark_spec.rb ./spec/lib/common_spec.rb ./spec/lib/parser_spec.rb ./spec/lib/redcap_parser_spec.rb ./spec/lib/unparser_spec.rb ./spec/models/answer_spec.rb ./spec/models/dependency_condition_spec.rb ./spec/models/dependency_spec.rb ./spec/models/question_group_spec.rb ./spec/models/question_spec.rb ./spec/models/response_set_spec.rb ./spec/models/response_spec.rb ./spec/models/survey_section_spec.rb ./spec/models/survey_spec.rb ./spec/models/validation_condition_spec.rb ./spec/models/validation_spec.rb failed
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@surveyor/gems/rspec-core-2.6.4/lib/rspec/core/rake_task.rb:139:in `rescue in block (2 levels) in initialize'
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@surveyor/gems/rspec-core-2.6.4/lib/rspec/core/rake_task.rb:135:in `block (2 levels) in initialize'
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/rake.rb:1112:in `verbose'
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@surveyor/gems/rspec-core-2.6.4/lib/rspec/core/rake_task.rb:131:in `block in initialize'
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/rake.rb:636:in `call'
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/rake.rb:636:in `block in execute'
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/rake.rb:631:in `each'
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/rake.rb:597:in `block in invoke_with_call_chain'
- /Users/kimball/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/rake.rb:2029:in `block (2 levels) in top_level'
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/rake.rb:2029:in `block in top_level'
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/rake.rb:2001:in `block in run'
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/bin/rake:31:in `<top (required)>'
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@surveyor/bin/rake:19:in `load'
- /Users/kimball/.rvm/gems/ruby-1.9.2-p180@surveyor/bin/rake:19:in `<main>'
Add Comment
Please, Sign In to add comment