MAPC / massbuilds-legacy

Crowdsourcing authoritative info on recent & ongoing developments in Massachusetts.
3 stars 5 forks source link

Fix Failing Tests #147

Open mzagaja opened 7 years ago

mzagaja commented 7 years ago

21 of the tests in the test suite are currently failing. They need to be triaged for whether they are materially broken or are merely stale and then appropriately updated or removed.

 FAIL["test_changeable_attributes_have_human_names", ChangePresenterTest, 0.5656989999988582]
 test_changeable_attributes_have_human_names#ChangePresenterTest (0.57s)
        Expected "Programs" to not be equal to "Programs".
        test/presenters/change_presenter_test.rb:53:in `block (2 levels) in <class:ChangePresenterTest>'
        test/presenters/change_presenter_test.rb:50:in `each_pair'
        test/presenters/change_presenter_test.rb:50:in `block in <class:ChangePresenterTest>'

Use assert_nil if expecting nil from /Users/mzagaja/GitHub/massbuilds/test/presenters/development_presenter_test.rb:67:in `block in <class:DevelopmentPresenterTest>'. This will fail in MT6.
 SKIP["test_should_get_create", ClaimsControllerTest, 36.20507599999837]
 test_should_get_create#ClaimsControllerTest (36.21s)
        Skipped, no message given
        test/controllers/claims_controller_test.rb:11:in `block in <class:ClaimsControllerTest>'

 SKIP["test_should_get_new", ClaimsControllerTest, 36.20697499999733]
 test_should_get_new#ClaimsControllerTest (36.21s)
        Skipped, no message given
        test/controllers/claims_controller_test.rb:5:in `block in <class:ClaimsControllerTest>'

 SKIP["test_subscribe", SubscribeToSubscribablesTest, 36.727672999997594]
 test_subscribe#SubscribeToSubscribablesTest (36.73s)
        no subscribing
        test/features/subscribe_to_subscribables_test.rb:27:in `block in <class:SubscribeToSubscribablesTest>'

 SKIP["test_without_subscription", SubscribeToSubscribablesTest, 36.909154999997554]
 test_without_subscription#SubscribeToSubscribablesTest (36.91s)
        Skipped, no message given
        test/features/subscribe_to_subscribables_test.rb:21:in `block in <class:SubscribeToSubscribablesTest>'

 FAIL["test_signed_in_user_visits_existing_organization,_and_successfully_edits_it", EditOrganizationTest, 37.3214169999992]
 test_signed_in_user_visits_existing_organization,_and_successfully_edits_it#EditOrganizationTest (37.32s)
        Expected to find text "Boston Properties" in "MassBuilds Developments Organizations Create new Development Organization 1 notification 1 pending edit 0 membership requests My Profile Edit Profile Log out Edit Organization Name Location Website Email This email address will be made public. Gravatar email If you use a Gravatar email, it will be used for your organization's profile photo across the site. The address itself will be kept private. Short name Used across the site where your organization's full name is too long. Abbreviation Used in icons and avatars. Developments Organizations Sign Up Sign In Home Contact Search Developments Explore thousands of developments.".
        test/features/edit_organization_test.rb:26:in `block in <class:EditOrganizationTest>'

Use assert_nil if expecting nil from /Users/mzagaja/GitHub/massbuilds/test/serializers/development_team_serializer_test.rb:34:in `block in <class:DevelopmentTeamSerializerTest>'. This will fail in MT6.
 SKIP["test_member_can_leave_an_organization", MembershipTest, 37.491399999998976]
 test_member_can_leave_an_organization#MembershipTest (37.49s)
        For now
        test/models/membership_test.rb:52:in `block in <class:MembershipTest>'

 SKIP["test_#searches", DigestPresenterTest, 37.49330299999929]
 test_#searches#DigestPresenterTest (37.49s)
        Skipped, no message given
        test/presenters/digest_presenter_test.rb:33:in `block in <class:DigestPresenterTest>'

 SKIP["test_#unique_developments", DigestPresenterTest, 37.494604999999865]
 test_#unique_developments#DigestPresenterTest (37.49s)
        Should return developments not in searches, places
        test/presenters/digest_presenter_test.rb:55:in `block in <class:DigestPresenterTest>'

 SKIP["test_#places", DigestPresenterTest, 37.49612100000013]
 test_#places#DigestPresenterTest (37.50s)
        Skipped, no message given
        test/presenters/digest_presenter_test.rb:39:in `block in <class:DigestPresenterTest>'

 SKIP["test_#subscriptions", DigestPresenterTest, 37.4976179999976]
 test_#subscriptions#DigestPresenterTest (37.50s)
        Skipped, no message given
        test/presenters/digest_presenter_test.rb:27:in `block in <class:DigestPresenterTest>'

 SKIP["test_user_last_checked", DigestPresenterTest, 37.49890400000004]
 test_user_last_checked#DigestPresenterTest (37.50s)
        Skipped, no message given
        test/presenters/digest_presenter_test.rb:59:in `block in <class:DigestPresenterTest>'

 SKIP["test_#user", DigestPresenterTest, 37.500301000000036]
 test_#user#DigestPresenterTest (37.50s)
        Skipped, no message given
        test/presenters/digest_presenter_test.rb:20:in `block in <class:DigestPresenterTest>'

 SKIP["test_#developments", DigestPresenterTest, 37.501609999999346]
 test_#developments#DigestPresenterTest (37.50s)
        Skipped, no message given
        test/presenters/digest_presenter_test.rb:44:in `block in <class:DigestPresenterTest>'

Use assert_nil if expecting nil from /Users/mzagaja/GitHub/massbuilds/test/lib/development_converter_test.rb:86:in `block in <class:DevelopmentConverterTest>'. This will fail in MT6.
 SKIP["test_signed_in_user_can_edit_name", EditUserTest, 37.65350199999739]
 test_signed_in_user_can_edit_name#EditUserTest (37.65s)
        unclear why this is failing
        test/features/edit_user_test.rb:10:in `block in <class:EditUserTest>'

 SKIP["test_requires_a_scope_that_does_not_unscope", BroadcastTest, 37.84990800000014]
 test_requires_a_scope_that_does_not_unscope#BroadcastTest (37.85s)
        Skipped, no message given
        test/models/broadcast_test.rb:70:in `block in <class:BroadcastTest>'

 SKIP["test_cannot_reschedule_a_delivered_message", BroadcastTest, 37.858501999999135]
 test_cannot_reschedule_a_delivered_message#BroadcastTest (37.86s)
        Not yet implemented.
        test/models/broadcast_test.rb:92:in `block in <class:BroadcastTest>'

 SKIP["test_deliver", BroadcastTest, 37.864029999997]
 test_deliver#BroadcastTest (37.86s)
        No mail yet.
        test/models/broadcast_test.rb:77:in `block in <class:BroadcastTest>'

 FAIL["test_get_on_a_new_development", WalkScoreTest, 38.18721699999878]
 test_get_on_a_new_development#WalkScoreTest (38.19s)
        Expected #<WalkScore:0x007f8b3e95d370 @resource=#<Development id: nil, creator_id: nil, created_at: nil, updated_at: nil, rdv: nil, asofright: nil, ovr55: nil, clusteros: nil, phased: nil, stalled: nil, name: nil, status: nil, desc: nil, project_url: nil, mapc_notes: nil, tagline: nil, address: nil, state: "MA", zip_code: nil, height: nil, stories: nil, year_compl: nil, prjarea: nil, singfamhu: nil, twnhsmmult: nil, lgmultifam: nil, tothu: nil, gqpop: nil, rptdemp: nil, emploss: nil, estemp: nil, commsf: nil, hotelrms: nil, onsitepark: nil, total_cost: nil, team_membership_count: nil, cancelled: false, private: false, fa_ret: nil, fa_ofcmd: nil, fa_indmf: nil, fa_whs: nil, fa_rnd: nil, fa_edinst: nil, fa_other: nil, fa_hotel: nil, other_rate: nil, affordable: nil, latitude: #<BigDecimal:7f8b44600460,'0.422E2',18(27)>, longitude: #<BigDecimal:7f8b44600140,'-0.711E2',18(27)>, place_id: nil, street_view_heading: 0, street_view_pitch: 35, street_view_latitude: nil, street_view_longitude: nil, street_view_image: nil, parcel_id: nil, mixed_use: nil, nearest_transit: nil, point: nil, walkscore: {}, programs: []>, @cached=true, @lon=-71.1, @lat=42.2, @content={}> to not be empty.
        test/lib/walk_score_test.rb:25:in `block in <class:WalkScoreTest>'

 SKIP["test_admin_can_promote_members", AdministerOrganizationTest, 39.24023599999782]
 test_admin_can_promote_members#AdministerOrganizationTest (39.24s)
        at 2016-07-01 10:22:57 -0400
        test/features/administer_organization_test.rb:66:in `block in <class:AdministerOrganizationTest>'

 SKIP["test_valid", CrosswalkTest, 39.6699179999996]
 test_valid#CrosswalkTest (39.67s)
        Skipped, no message given
        test/models/crosswalk_test.rb:10:in `block in <class:CrosswalkTest>'

 SKIP["test_generates_a_link_if_the_organization_has_a_template", CrosswalkTest, 39.67125899999883]
 test_generates_a_link_if_the_organization_has_a_template#CrosswalkTest (39.67s)
        Skipped, no message given
        test/models/crosswalk_test.rb:33:in `block in <class:CrosswalkTest>'

 SKIP["test_generates_nil_link_otherwise", CrosswalkTest, 39.67261899999721]
 test_generates_nil_link_otherwise#CrosswalkTest (39.67s)
        Skipped, no message given
        test/models/crosswalk_test.rb:40:in `block in <class:CrosswalkTest>'

 SKIP["test_requires_an_development", CrosswalkTest, 39.6739439999983]
 test_requires_an_development#CrosswalkTest (39.67s)
        Skipped, no message given
        test/models/crosswalk_test.rb:21:in `block in <class:CrosswalkTest>'

 SKIP["test_requires_an_internal_ID", CrosswalkTest, 39.675178999998025]
 test_requires_an_internal_ID#CrosswalkTest (39.68s)
        Skipped, no message given
        test/models/crosswalk_test.rb:27:in `block in <class:CrosswalkTest>'

 SKIP["test_requires_an_organization", CrosswalkTest, 39.676462999999785]
 test_requires_an_organization#CrosswalkTest (39.68s)
        Skipped, no message given
        test/models/crosswalk_test.rb:15:in `block in <class:CrosswalkTest>'

 SKIP["test_crosswalks_/_muni_id", MunicipalityTest, 39.90075799999977]
 test_crosswalks_/_muni_id#MunicipalityTest (39.90s)
        Add a way to have muni_id crosswalk
        test/models/municipality_test.rb:30:in `block in <class:MunicipalityTest>'

 SKIP["test_geometry", MunicipalityTest, 39.902124000000185]
 test_geometry#MunicipalityTest (39.90s)
        Add geometry
        test/models/municipality_test.rb:26:in `block in <class:MunicipalityTest>'

ERROR["test_commercial_square_feet_must_add_up", DevelopmentValidationTest, 40.34526099999857]
 test_commercial_square_feet_must_add_up#DevelopmentValidationTest (40.35s)
NameError:         NameError: undefined local variable or method `d' for #<DevelopmentValidationTest:0x007f8b41801730>
            test/models/development_validation_test.rb:72:in `block in <class:DevelopmentValidationTest>'

ERROR["test_requires_housing_units_and_commercial_square_feet", DevelopmentValidationTest, 41.0889360000001]
 test_requires_housing_units_and_commercial_square_feet#DevelopmentValidationTest (41.09s)
NameError:         NameError: undefined local variable or method `d' for #<DevelopmentValidationTest:0x007f8b58e7c968>
            test/models/development_validation_test.rb:6:in `block in <class:DevelopmentValidationTest>'

ERROR["test_housing_units_must_add_up", DevelopmentValidationTest, 41.828629999999976]
 test_housing_units_must_add_up#DevelopmentValidationTest (41.83s)
NameError:         NameError: undefined local variable or method `d' for #<DevelopmentValidationTest:0x007f8b5d06a0c8>
            test/models/development_validation_test.rb:59:in `block in <class:DevelopmentValidationTest>'

ERROR["test_requires_extra_nonres_information_if_in_construction_or_completed", DevelopmentValidationTest, 42.36263499999768]
 test_requires_extra_nonres_information_if_in_construction_or_completed#DevelopmentValidationTest (42.36s)
NameError:         NameError: undefined local variable or method `d' for #<DevelopmentValidationTest:0x007f8b453988c0>
            test/models/development_validation_test.rb:40:in `block (2 levels) in <class:DevelopmentValidationTest>'
            test/models/development_validation_test.rb:39:in `each'
            test/models/development_validation_test.rb:39:in `block in <class:DevelopmentValidationTest>'

ERROR["test_requires_extra_housing_information", DevelopmentValidationTest, 43.04116900000008]
 test_requires_extra_housing_information#DevelopmentValidationTest (43.04s)
NameError:         NameError: undefined local variable or method `d' for #<DevelopmentValidationTest:0x007f8b5c8645e0>
            test/models/development_validation_test.rb:18:in `block (2 levels) in <class:DevelopmentValidationTest>'
            test/models/development_validation_test.rb:17:in `each'
            test/models/development_validation_test.rb:17:in `block in <class:DevelopmentValidationTest>'

 SKIP["test_search", API::V1::DevelopmentsControllerTest, 43.70922399999836]
 test_search#API::V1::DevelopmentsControllerTest (43.71s)
        Skipped, no message given
        test/controllers/api/v1/developments_controller_test.rb:130:in `block in <class:DevelopmentsControllerTest>'

 SKIP["test_should_get_index,_filtering_on_boolean", API::V1::DevelopmentsControllerTest, 43.73845999999685]
 test_should_get_index,_filtering_on_boolean#API::V1::DevelopmentsControllerTest (43.74s)
        Skipped, no message given
        test/controllers/api/v1/developments_controller_test.rb:39:in `block in <class:DevelopmentsControllerTest>'

 FAIL["test_should_post_create", API::V1::DevelopmentsControllerTest, 43.83329999999842]
 test_should_post_create#API::V1::DevelopmentsControllerTest (43.83s)
        {"errors"=>[{"title"=>"Internal Server Error", "detail"=>"Internal Server Error", "id"=>nil, "href"=>nil, "code"=>500, "source"=>nil, "links"=>nil, "status"=>"500", "meta"=>{"exception"=>"undefined method `to_h' for #<HTTParty::Response:0x007f8b446c1200>\nDid you mean?  to_r\n               to_b\n               to_c\n               to_f\n               to_i\n               to_s\n               to_d", "backtrace"=>["/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/httparty-0.14.0/lib/httparty/response.rb:85:in `method_missing'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/mbta-realtime-0.1.4/lib/mbta-realtime/client.rb:48:in `stops_by_location'", "/Users/mzagaja/GitHub/massbuilds/lib/nearest_transit.rb:35:in `stops'", "/Users/mzagaja/GitHub/massbuilds/lib/nearest_transit.rb:23:in `subway_station'", "/Users/mzagaja/GitHub/massbuilds/lib/nearest_transit.rb:17:in `stop_name'", "/Users/mzagaja/GitHub/massbuilds/lib/nearest_transit.rb:11:in `get'", "/Users/mzagaja/GitHub/massbuilds/app/models/concerns/development/model_callbacks.rb:59:in `update_nearest_transit'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:164:in `block in halting'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in `block in call'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in `each'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in `call'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in `_run_save_callbacks'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activerecord-4.2.5.1/lib/active_record/callbacks.rb:302:in `create_or_update'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activerecord-4.2.5.1/lib/active_record/persistence.rb:120:in `save'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activerecord-4.2.5.1/lib/active_record/validations.rb:37:in `save'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activerecord-4.2.5.1/lib/active_record/attribute_methods/dirty.rb:21:in `save'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:286:in `block (2 levels) in save'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:220:in `transaction'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:286:in `block in save'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:301:in `rollback_active_record_state!'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:285:in `save'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/jsonapi-resources-0.7.0/lib/jsonapi/resource.rb:158:in `_save'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/jsonapi-resources-0.7.0/lib/jsonapi/resource.rb:135:in `block in save'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:117:in `call'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in `call'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in `_run_save_callbacks'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/jsonapi-resources-0.7.0/lib/jsonapi/resource.rb:134:in `save'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/jsonapi-resources-0.7.0/lib/jsonapi/resource.rb:53:in `block in change'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:88:in `__run_callbacks__'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in `_run_create_callbacks'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/jsonapi-resources-0.7.0/lib/jsonapi/resource.rb:47:in `change'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/jsonapi-resources-0.7.0/lib/jsonapi/resource.rb:103:in `replace_fields'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/jsonapi-resources-0.7.0/lib/jsonapi/operation.rb:205:in `apply'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/jsonapi-resources-0.7.0/lib/jsonapi/active_record_operations_processor.rb:23:in `block in process_operation'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/jsonapi-resources-0.7.0/lib/jsonapi/operations_processor.rb:90:in `with_default_handling'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/jsonapi-resources-0.7.0/lib/jsonapi/active_record_operations_processor.rb:21:in `process_operation'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/jsonapi-resources-0.7.0/lib/jsonapi/operations_processor.rb:53:in `block (5 levels) in process'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:88:in `__run_callbacks__'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in `_run_create_resource_operation_callbacks'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/jsonapi-resources-0.7.0/lib/jsonapi/operations_processor.rb:52:in `block (4 levels) in process'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:88:in `__run_callbacks__'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in `_run_operation_callbacks'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/jsonapi-resources-0.7.0/lib/jsonapi/operations_processor.rb:50:in `block (3 levels) in process'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/jsonapi-resources-0.7.0/lib/jsonapi/operations_processor.rb:45:in `each'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/jsonapi-resources-0.7.0/lib/jsonapi/operations_processor.rb:45:in `block (2 levels) in process'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/jsonapi-resources-0.7.0/lib/jsonapi/active_record_operations_processor.rb:7:in `block in transaction'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:220:in `transaction'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/jsonapi-resources-0.7.0/lib/jsonapi/active_record_operations_processor.rb:6:in `transaction'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/jsonapi-resources-0.7.0/lib/jsonapi/operations_processor.rb:41:in `block in process'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:88:in `__run_callbacks__'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in `_run_operations_callbacks'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/jsonapi-resources-0.7.0/lib/jsonapi/operations_processor.rb:40:in `process'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/jsonapi-resources-0.7.0/lib/jsonapi/acts_as_resource_controller.rb:63:in `process_request'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/jsonapi-resources-0.7.0/lib/jsonapi/acts_as_resource_controller.rb:25:in `create'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/actionpack-4.2.5.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/actionpack-4.2.5.1/lib/abstract_controller/base.rb:198:in `process_action'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/actionpack-4.2.5.1/lib/action_controller/metal/rendering.rb:10:in `process_action'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/actionpack-4.2.5.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:117:in `call'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in `call'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/actionpack-4.2.5.1/lib/abstract_controller/callbacks.rb:19:in `process_action'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/actionpack-4.2.5.1/lib/action_controller/metal/rescue.rb:29:in `process_action'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/actionpack-4.2.5.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/notifications.rb:164:in `block in instrument'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activesupport-4.2.5.1/lib/active_support/notifications.rb:164:in `instrument'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/actionpack-4.2.5.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/actionpack-4.2.5.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/activerecord-4.2.5.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/actionpack-4.2.5.1/lib/abstract_controller/base.rb:137:in `process'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/actionview-4.2.5.1/lib/action_view/rendering.rb:30:in `process'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/actionpack-4.2.5.1/lib/action_controller/test_case.rb:639:in `process'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/actionpack-4.2.5.1/lib/action_controller/test_case.rb:67:in `process'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/devise-4.1.0/lib/devise/test_helpers.rb:19:in `block in process'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/devise-4.1.0/lib/devise/test_helpers.rb:75:in `catch'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/devise-4.1.0/lib/devise/test_helpers.rb:75:in `_catch_warden'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/devise-4.1.0/lib/devise/test_helpers.rb:19:in `process'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/actionpack-4.2.5.1/lib/action_controller/test_case.rb:520:in `post'", "/Users/mzagaja/GitHub/massbuilds/test/controllers/api/v1/developments_controller_test.rb:84:in `block in <class:DevelopmentsControllerTest>'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/minitest-5.10.1/lib/minitest/test.rb:105:in `block (3 levels) in run'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/minitest-5.10.1/lib/minitest/test.rb:202:in `capture_exceptions'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/minitest-5.10.1/lib/minitest/test.rb:102:in `block (2 levels) in run'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/minitest-5.10.1/lib/minitest/test.rb:253:in `time_it'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/minitest-5.10.1/lib/minitest/test.rb:101:in `block in run'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/minitest-5.10.1/lib/minitest/test.rb:273:in `with_info_handler'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/minitest-5.10.1/lib/minitest/test.rb:100:in `run'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/minitest-reporters-1.1.9/lib/minitest/reporters.rb:48:in `run_with_hooks'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/minitest-5.10.1/lib/minitest.rb:822:in `run_one_method'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/minitest-5.10.1/lib/minitest.rb:323:in `run_one_method'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/minitest-5.10.1/lib/minitest.rb:310:in `block (2 levels) in run'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/minitest-5.10.1/lib/minitest.rb:309:in `each'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/minitest-5.10.1/lib/minitest.rb:309:in `block in run'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/minitest-5.10.1/lib/minitest.rb:336:in `with_info_handler'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/minitest-5.10.1/lib/minitest.rb:308:in `run'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/minitest-5.10.1/lib/minitest.rb:158:in `block in __run'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/minitest-5.10.1/lib/minitest.rb:158:in `map'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/minitest-5.10.1/lib/minitest.rb:158:in `__run'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/minitest-5.10.1/lib/minitest.rb:135:in `run'", "/Users/mzagaja/.rvm/gems/ruby-2.3.1@dd/gems/minitest-5.10.1/lib/minitest.rb:62:in `block in autorun'"]}}]}.
        Expected: 201
          Actual: 500
        test/controllers/api/v1/developments_controller_test.rb:85:in `block in <class:DevelopmentsControllerTest>'

 FAIL["test_should_create_edit_and_return_unmodified_development", API::V1::DevelopmentsControllerTest, 44.01448999999775]
 test_should_create_edit_and_return_unmodified_development#API::V1::DevelopmentsControllerTest (44.01s)
        "Edit.pending.count" didn't change by 1.
        Expected: 2
          Actual: 1
        test/controllers/api/v1/developments_controller_test.rb:97:in `block in <class:DevelopmentsControllerTest>'

 SKIP["test_changes_moderator's_inbox_count", FlagTest, 44.16211099999782]
 test_changes_moderator's_inbox_count#FlagTest (44.16s)
        This is a tangential collaborator and does not belong here.
        test/models/flag_test.rb:40:in `block in <class:FlagTest>'

 SKIP["test_sign_in,_visit_development,_and_claim_it", ClaimDevelopmentTest, 44.22497999999905]
 test_sign_in,_visit_development,_and_claim_it#ClaimDevelopmentTest (44.23s)
        no claiming
        test/features/claim_development_test.rb:11:in `block in <class:ClaimDevelopmentTest>'

 FAIL["test_signed-in_user_clicks_the_edit_button_and_submits_a_form", EditDevelopmentTest, 45.0645199999999]
 test_signed-in_user_clicks_the_edit_button_and_submits_a_form#EditDevelopmentTest (45.06s)
        Expected to find text "Editing Godfrey Hotel" in "MassBuilds Developments Organizations Create new Development Organization 1 notification 1 pending edit 0 membership requests My Profile Edit Profile Log out Editing Boston Tagline Total Cost $ .00 Actual or estimated year of completion Project status Projected Planning In Construction Completed Project Attributes Redevelopment As of Right Age-Restricted Cluster Development Phased Stalled Incentive Programs 40 B 40 R 43 D Mass Works Infrastructure Program Details Building & Site Physical Attributes Total Housing Units units Total Commercial Floor Area square feet Project Area (total) square feet Stories Height feet Residential Residential Housing Housing Type Number of Units Single-family homes homes Small multifamily units units Large multifamily units units Affordable housing units (percent of total) % Group Quarters beds Commercial Commercial Non-residential attributes Use Type Floor Area square feet Retail square feet Office or Medical square feet Industrial or Manufacturing square feet Warehouse and Shipping square feet Research and Development square feet Educational and Institution square feet Other square feet Hotel Room square feet Hotel Rooms rooms Employment (reported) jobs Employment (estimated) jobs Transportation On-site parking spaces parking spaces Review & Submit Please summarize your changes. A moderator will review your comment when deciding whether to accept your proposed changes. Developments Organizations Sign Up Sign In Home Contact Search Developments Explore thousands of developments.".
        test/features/edit_development_test.rb:25:in `block in <class:EditDevelopmentTest>'

 SKIP["test_update_street_view", EditDevelopmentTest, 45.272532999999385]
 test_update_street_view#EditDevelopmentTest (45.27s)
        how do we set fields?
        test/features/edit_development_test.rb:39:in `block in <class:EditDevelopmentTest>'

ERROR["test_signed_in_user_requests_to_join_org_twice_and_receives_an_error_the_second_time", JoinOrganizationTest, 45.47986899999887]
 test_signed_in_user_requests_to_join_org_twice_and_receives_an_error_the_second_time#JoinOrganizationTest (45.48s)
ActionController::RoutingError:         ActionController::RoutingError: No route matches [POST] "/organizations/446240962/leave"
            test/features/join_organization_test.rb:28:in `block (2 levels) in <class:JoinOrganizationTest>'
            test/features/join_organization_test.rb:28:in `times'
            test/features/join_organization_test.rb:28:in `block in <class:JoinOrganizationTest>'

ERROR["test_signed_in_user_requests_to_join_organization_and_cancels_join_request", JoinOrganizationTest, 45.93000000000029]
 test_signed_in_user_requests_to_join_organization_and_cancels_join_request#JoinOrganizationTest (45.93s)
ActiveRecord::RecordNotFound:         ActiveRecord::RecordNotFound: Couldn't find Membership with 'id'=
            app/controllers/memberships_controller.rb:18:in `deactivate'
            test/features/join_organization_test.rb:35:in `block in <class:JoinOrganizationTest>'

 SKIP["test_not_included_in_daily_users_when_checked_just_now", DigestJobTest, 45.979041999999026]
 test_not_included_in_daily_users_when_checked_just_now#DigestJobTest (45.98s)
        come back to this
        test/jobs/digest_job_test.rb:35:in `block in <class:DigestJobTest>'

 FAIL["test_visits_new_organization_path,_and_successfully_creates_organization", CreateOrganizationTest, 46.33205399999861]
 test_visits_new_organization_path,_and_successfully_creates_organization#CreateOrganizationTest (46.33s)
        Expected to find text "Boston Properties" in "Website is not valid or not responding MassBuilds Developments Organizations Create new Development Organization 1 notification 1 pending edit 0 membership requests My Profile Edit Profile Log out Create a new organization Name Location Website Email This email address will be made public. Gravatar email If you use a Gravatar email, it will be used for your organization's profile photo across the site. The address itself will be kept private. Short name Used across the site where your organization's full name is too long. Abbreviation Used in icons and avatars. Developments Organizations Sign Up Sign In Home Contact Search Developments Explore thousands of developments.".
        test/features/create_organization_test.rb:46:in `block in <class:CreateOrganizationTest>'

 FAIL["test_visits_existing_organization,_and_successfully_edits_it", CreateOrganizationTest, 46.530736999997316]
 test_visits_existing_organization,_and_successfully_edits_it#CreateOrganizationTest (46.53s)
        Expected to find text "Boston Properties" in "MassBuilds Developments Organizations Create new Development Organization 1 notification 1 pending edit 0 membership requests My Profile Edit Profile Log out Edit Organization Name Location Website Email This email address will be made public. Gravatar email If you use a Gravatar email, it will be used for your organization's profile photo across the site. The address itself will be kept private. Short name Used across the site where your organization's full name is too long. Abbreviation Used in icons and avatars. Developments Organizations Sign Up Sign In Home Contact Search Developments Explore thousands of developments.".
        test/features/create_organization_test.rb:53:in `block in <class:CreateOrganizationTest>'

 SKIP["test_requires_a_log_message", EditTest, 46.618367999999464]
 test_requires_a_log_message#EditTest (46.62s)
        disabled for the moment because we cannot get the API working right
        test/models/edit_test.rb:43:in `block in <class:EditTest>'

 FAIL["test_when_conflict_returns_false", ApplyTest, 46.66150099999868]
 test_when_conflict_returns_false#ApplyTest (46.66s)
        Expected true to not be truthy.
        test/services/services/edit/apply_test.rb:54:in `block in <class:ApplyTest>'

 FAIL["test_ignore_conflict_and_apply_edit", ApplyTest, 46.68460299999788]
 test_ignore_conflict_and_apply_edit#ApplyTest (46.68s)
        Expected true to not be truthy.
        test/services/services/edit/apply_test.rb:61:in `block in <class:ApplyTest>'

 SKIP["test_#updated_since?_with_developments", PlaceTest, 46.76913699999932]
 test_#updated_since?_with_developments#PlaceTest (46.77s)
        at 2016-07-01 10:22:57 -0400
        test/models/place_test.rb:24:in `block in <class:PlaceTest>'

 SKIP["test_should_get_edit", FlagsControllerTest, 46.77757299999939]
 test_should_get_edit#FlagsControllerTest (46.78s)
        Skipped, no message given
        test/controllers/flags_controller_test.rb:23:in `block in <class:FlagsControllerTest>'

 SKIP["test_should_get_index", FlagsControllerTest, 46.77936899999986]
 test_should_get_index#FlagsControllerTest (46.78s)
        Skipped, no message given
        test/controllers/flags_controller_test.rb:5:in `block in <class:FlagsControllerTest>'

 SKIP["test_should_get_new", FlagsControllerTest, 46.78136900000027]
 test_should_get_new#FlagsControllerTest (46.78s)
        Skipped, no message given
        test/controllers/flags_controller_test.rb:11:in `block in <class:FlagsControllerTest>'

 SKIP["test_should_get_update", FlagsControllerTest, 46.78313699999853]
 test_should_get_update#FlagsControllerTest (46.78s)
        Skipped, no message given
        test/controllers/flags_controller_test.rb:29:in `block in <class:FlagsControllerTest>'

 SKIP["test_should_get_show", FlagsControllerTest, 46.785313999997015]
 test_should_get_show#FlagsControllerTest (46.79s)
        Skipped, no message given
        test/controllers/flags_controller_test.rb:17:in `block in <class:FlagsControllerTest>'

 SKIP["test_user_cannot_moderate_their_own_claim_unless_admin", ClaimTest, 46.9572139999982]
 test_user_cannot_moderate_their_own_claim_unless_admin#ClaimTest (46.96s)

              Expecting this to fail because we have not yet implemented
              roles like :admin that would help this pass.

        test/models/claim_test.rb:109:in `block in <class:ClaimTest>'

Use assert_nil if expecting nil from /Users/mzagaja/GitHub/massbuilds/test/models/claim_test.rb:63:in `block in <class:ClaimTest>'. This will fail in MT6.00:00:46,  ETA: 00:00:23
ERROR["test_digest", SubscriptionMailerTest, 47.05827899999713]
 test_digest#SubscriptionMailerTest (47.06s)
ActionView::Template::Error:         ActionView::Template::Error: undefined method `pluck' for []:Burgundy::Collection
            app/views/subscription_mailer/digest.html.haml:34:in `_app_views_subscription_mailer_digest_html_haml___4352406845961475637_70118059771120'
            app/mailers/subscription_mailer.rb:11:in `digest'
            test/mailers/subscription_mailer_test.rb:12:in `block in <class:SubscriptionMailerTest>'

 SKIP["test_renders_CSV", SearchesControllerTest, 47.06953599999906]
 test_renders_CSV#SearchesControllerTest (47.07s)
        in favor of CARTO
        test/controllers/searches_controller_test.rb:21:in `block in <class:SearchesControllerTest>'

ERROR["test_sets_expiration_when_saves_a_response", PlaceProfileTest, 47.40008099999977]
 test_sets_expiration_when_saves_a_response#PlaceProfileTest (47.40s)
NameError:         NameError: uninitialized constant PlaceProfile::Geometry
            app/models/place_profile.rb:29:in `update_polygon'
            test/models/place_profile_test.rb:103:in `block in <class:PlaceProfileTest>'

ERROR["test_#polygon_builds_a_geojson_hexagon_around_the_center_point", PlaceProfileTest, 47.41375699999844]
 test_#polygon_builds_a_geojson_hexagon_around_the_center_point#PlaceProfileTest (47.41s)
NameError:         NameError: uninitialized constant PlaceProfile::Geometry
            app/models/place_profile.rb:29:in `update_polygon'
            test/models/place_profile_test.rb:73:in `block in <class:PlaceProfileTest>'

 SKIP["test_gets_information_from_KnowPlace", PlaceProfileTest, 47.42252599999847]
 test_gets_information_from_KnowPlace#PlaceProfileTest (47.42s)

              - Need VCR, or equivalent, or a mock response.
              - Need KnowPlace to be in a certain state to receive this.

        test/models/place_profile_test.rb:87:in `block in <class:PlaceProfileTest>'

ERROR["test_matches_v2", APIVersionTest, 47.61576799999966]
 test_matches_v2#APIVersionTest (47.62s)
NoMethodError:         NoMethodError: undefined method `v' for APIVersion:Class
            test/lib/api_version_test.rb:12:in `v2'
            test/lib/api_version_test.rb:54:in `block in <class:APIVersionTest>'

ERROR["test_matches_v1", APIVersionTest, 47.620992000000115]
 test_matches_v1#APIVersionTest (47.62s)
NoMethodError:         NoMethodError: undefined method `version' for APIVersion:Class
            test/lib/api_version_test.rb:8:in `v1'
            test/lib/api_version_test.rb:42:in `block in <class:APIVersionTest>'

 FAIL["test_save_raises_error", FormTest, 47.62825199999861]
 test_save_raises_error#FormTest (47.63s)
        [NotImplementedError] exception expected, not
        Class: <NameError>
        Message: <"uninitialized constant FormTest::Form">
        ---Backtrace---
        test/forms/form_test.rb:6:in `form'
        test/forms/form_test.rb:14:in `block (2 levels) in <class:FormTest>'
        test/forms/form_test.rb:14:in `block in <class:FormTest>'
        ---------------
        test/forms/form_test.rb:14:in `block in <class:FormTest>'

ERROR["test_valid", FormTest, 47.63084600000002]
 test_valid#FormTest (47.63s)
NameError:         NameError: uninitialized constant FormTest::Form
            test/forms/form_test.rb:6:in `form'
            test/forms/form_test.rb:10:in `block in <class:FormTest>'

ERROR["test_not_persisted", FormTest, 47.632794999997714]
 test_not_persisted#FormTest (47.63s)
NameError:         NameError: uninitialized constant FormTest::Form
            test/forms/form_test.rb:6:in `form'
            test/forms/form_test.rb:18:in `block in <class:FormTest>'

 FAIL["test_breakdown", EmploymentEstimatorTest, 47.636225999998715]
 test_breakdown#EmploymentEstimatorTest (47.64s)
        Expected: {:fa_ret=>1}
          Actual: {:fa_ret=>0.0}
        test/lib/employment_estimator_test.rb:16:in `block in <class:EmploymentEstimatorTest>'

ERROR["test_calculation", EmploymentEstimatorTest, 47.63814199999979]
 test_calculation#EmploymentEstimatorTest (47.64s)
NameError:         NameError: undefined local variable or method `d' for #<EmploymentEstimatorTest:0x007f8b41b72680>
            test/lib/employment_estimator_test.rb:24:in `block in <class:EmploymentEstimatorTest>'

 FAIL["test_perform", EmploymentEstimatorTest, 48.26583599999867]
 test_perform#EmploymentEstimatorTest (48.27s)
        Expected: 1
          Actual: 0.0
        test/lib/employment_estimator_test.rb:20:in `block in <class:EmploymentEstimatorTest>'

 FAIL["test_#to_csv", DevelopmentsSerializerTest, 48.33434599999964]
 test_#to_csv#DevelopmentsSerializerTest (48.33s)
        --- expected
        +++ actual
        @@ -1,4 +1,5 @@
        -"id,creator_id,created_at,updated_at,rdv,asofright,ovr55,clusteros,phased,stalled,name,status,desc,project_url,mapc_notes,tagline,address,state,zip_code,height,stories,year_compl,prjarea,singfamhu,twnhsmmult,lgmultifam,tothu,gqpop,rptdemp,emploss,estemp,commsf,hotelrms,onsitepark,total_cost,team_membership_count,cancelled,private,fa_ret,fa_ofcmd,fa_indmf,fa_whs,fa_rnd,fa_edinst,fa_other,fa_hotel,other_rate,affordable,latitude,longitude,place_id,mixed_use,nearest_transit,city,team_member_1_name,team_member_1_website,team_member_1_location,team_member_1_email,team_member_1_abbv,team_member_1_short_name,team_member_1_role
        +# encoding: ASCII-8BIT
        +"id,creator_id,created_at,updated_at,rdv,asofright,ovr55,clusteros,phased,stalled,name,status,desc,project_url,mapc_notes,tagline,address,state,zip_code,height,stories,year_compl,prjarea,singfamhu,twnhsmmult,lgmultifam,tothu,gqpop,rptdemp,emploss,estemp,commsf,hotelrms,onsitepark,total_cost,team_membership_count,cancelled,private,fa_ret,fa_ofcmd,fa_indmf,fa_whs,fa_rnd,fa_edinst,fa_other,fa_hotel,other_rate,affordable,latitude,longitude,place_id,mixed_use,nearest_transit,programs,city,team_member_1_name,team_member_1_website,team_member_1_location,team_member_1_email,team_member_1_abbv,team_member_1_short_name,team_member_1_role
         980190962,562391268,1969-12-31 19:00:00 -0500,1969-12-31 19:00:00 -0500,,,,,,,Godfrey Hotel,planning,,,,,505 Washington Street,MA,02111,,,2016,,,,,0,,,,75,0,,,,1,false,true,,,,,,,,,,,42.000001,71.000001,226565033,,,Boston,Metropolitan Area Planning Council,http://mapc.org,\"Boston, MA\",,MAPC,MAPC,landlord
         298486374,730190997,1969-12-31 19:00:00 -0500,1969-12-31 19:00:00 -0500,,,,,,,Hello,completed,,,,,It's me / I was wondering if after all the years,ET,02118,,,2012,,,,,0,,,,1000,0,,,,,false,false,,,,,,,,,,,43.000001,70.000001,559828770,,,Boston,,,,,,,
         "
        test/serializers/developments_serializer_test.rb:43:in `block (2 levels) in <class:DevelopmentsSerializerTest>'
        test/serializers/developments_serializer_test.rb:42:in `block in <class:DevelopmentsSerializerTest>'

 FAIL["test_#to_header", DevelopmentsSerializerTest, 48.397196999998414]
 test_#to_header#DevelopmentsSerializerTest (48.40s)
        --- expected
        +++ actual
        @@ -1 +1 @@
        -["id", "creator_id", "created_at", "updated_at", "rdv", "asofright", "ovr55", "clusteros", "phased", "stalled", "name", "status", "desc", "project_url", "mapc_notes", "tagline", "address", "state", "zip_code", "height", "stories", "year_compl", "prjarea", "singfamhu", "twnhsmmult", "lgmultifam", "tothu", "gqpop", "rptdemp", "emploss", "estemp", "commsf", "hotelrms", "onsitepark", "total_cost", "team_membership_count", "cancelled", "private", "fa_ret", "fa_ofcmd", "fa_indmf", "fa_whs", "fa_rnd", "fa_edinst", "fa_other", "fa_hotel", "other_rate", "affordable", "latitude", "longitude", "place_id", "mixed_use", "nearest_transit", "city", "team_member_1_name", "team_member_1_website", "team_member_1_location", "team_member_1_email", "team_member_1_abbv", "team_member_1_short_name", "team_member_1_role"]
        +["id", "creator_id", "created_at", "updated_at", "rdv", "asofright", "ovr55", "clusteros", "phased", "stalled", "name", "status", "desc", "project_url", "mapc_notes", "tagline", "address", "state", "zip_code", "height", "stories", "year_compl", "prjarea", "singfamhu", "twnhsmmult", "lgmultifam", "tothu", "gqpop", "rptdemp", "emploss", "estemp", "commsf", "hotelrms", "onsitepark", "total_cost", "team_membership_count", "cancelled", "private", "fa_ret", "fa_ofcmd", "fa_indmf", "fa_whs", "fa_rnd", "fa_edinst", "fa_other", "fa_hotel", "other_rate", "affordable", "latitude", "longitude", "place_id", "mixed_use", "nearest_transit", "programs", "city", "team_member_1_name", "team_member_1_website", "team_member_1_location", "team_member_1_email", "team_member_1_abbv", "team_member_1_short_name", "team_member_1_role"]
        test/serializers/developments_serializer_test.rb:37:in `block in <class:DevelopmentsSerializerTest>'

ERROR["test_approve_and_decline_a_flag", PendingEditsTest, 48.69245199999932]
 test_approve_and_decline_a_flag#PendingEditsTest (48.69s)
Capybara::ElementNotFound:         Capybara::ElementNotFound: Unable to find link "Moderate"
            test/features/pending_edits_test.rb:15:in `setup'

ERROR["test_approved_and_declined_edits_do_not_appear", PendingEditsTest, 48.8778089999978]
 test_approved_and_declined_edits_do_not_appear#PendingEditsTest (48.88s)
Capybara::ElementNotFound:         Capybara::ElementNotFound: Unable to find link "Moderate"
            test/features/pending_edits_test.rb:15:in `setup'

ERROR["test_decline_edit", PendingEditsTest, 49.062567999997555]
 test_decline_edit#PendingEditsTest (49.06s)
Capybara::ElementNotFound:         Capybara::ElementNotFound: Unable to find link "Moderate"
            test/features/pending_edits_test.rb:15:in `setup'

ERROR["test_view_pending_edits", PendingEditsTest, 49.246054999999615]
 test_view_pending_edits#PendingEditsTest (49.25s)
Capybara::ElementNotFound:         Capybara::ElementNotFound: Unable to find link "Moderate"
            test/features/pending_edits_test.rb:15:in `setup'

ERROR["test_approve_edit", PendingEditsTest, 49.42779399999927]
 test_approve_edit#PendingEditsTest (49.43s)
Capybara::ElementNotFound:         Capybara::ElementNotFound: Unable to find link "Moderate"
            test/features/pending_edits_test.rb:15:in `setup'

ERROR["test_conflicts_require_an_extra_review_step", PendingEditsTest, 49.61096799999723]
 test_conflicts_require_an_extra_review_step#PendingEditsTest (49.61s)
Capybara::ElementNotFound:         Capybara::ElementNotFound: Unable to find link "Moderate"
            test/features/pending_edits_test.rb:15:in `setup'

 SKIP["test_can_specify_whether_fields_are_nested", ReportPresenterTest, 49.789325999998255]
 test_can_specify_whether_fields_are_nested#ReportPresenterTest (49.79s)
        Skipped, no message given
        test/presenters/report_presenter_test.rb:49:in `block in <class:ReportPresenterTest>'

 FAIL["test_width_and_height", StreetViewTest, 49.98058200000014]
 test_width_and_height#StreetViewTest (49.98s)
        --- expected
        +++ actual
        @@ -1 +1 @@
        -"http://maps.googleapis.com/maps/api/streetview?size=70x80&location=42.000001,71.000001&fov=100&heading=235&pitch=35&key=loLOLol"
        +["http://maps.googleapis.com/maps/api/streetview?", "size=70x80", "&location=42.000001,71.000001", "&fov=100", "&heading=235", "&pitch=35", "&key=loLOLol"]
        test/models/street_view_test.rb:56:in `block in <class:StreetViewTest>'

 FAIL["test_never_raises,_has_default_URL", StreetViewTest, 49.990216999998665]
 test_never_raises,_has_default_URL#StreetViewTest (49.99s)
        --- expected
        +++ actual
        @@ -1 +1 @@
        -"http://maps.googleapis.com/maps/api/streetview?size=600x600&location=42.3547661,-71.0615689&fov=100&heading=0&pitch=35&key=loLOLol"
        +["http://maps.googleapis.com/maps/api/streetview?", "size=600x600", "&location=42.3547661,-71.0615689", "&fov=100", "&heading=0", "&pitch=35", "&key=loLOLol"]
        test/models/street_view_test.rb:12:in `block in <class:StreetViewTest>'

 FAIL["test_given_a_size,_builds_a_url", StreetViewTest, 50.0014119999978]
 test_given_a_size,_builds_a_url#StreetViewTest (50.00s)
        --- expected
        +++ actual
        @@ -1 +1 @@
        -"http://maps.googleapis.com/maps/api/streetview?size=300x300&location=42.000001,71.000001&fov=100&heading=235&pitch=35&key=loLOLol"
        +["http://maps.googleapis.com/maps/api/streetview?", "size=300x300", "&location=42.000001,71.000001", "&fov=100", "&heading=235", "&pitch=35", "&key=loLOLol"]
        test/models/street_view_test.rb:29:in `block in <class:StreetViewTest>'

 FAIL["test_given_a_development,_builds_a_url", StreetViewTest, 50.01491700000042]
 test_given_a_development,_builds_a_url#StreetViewTest (50.02s)
        --- expected
        +++ actual
        @@ -1 +1 @@
        -"http://maps.googleapis.com/maps/api/streetview?size=600x600&location=42.000001,71.000001&fov=100&heading=235&pitch=35&key=loLOLol"
        +["http://maps.googleapis.com/maps/api/streetview?", "size=600x600", "&location=42.000001,71.000001", "&fov=100", "&heading=235", "&pitch=35", "&key=loLOLol"]
        test/models/street_view_test.rb:18:in `block in <class:StreetViewTest>'

 FAIL["test_#to_header_with_an_object", DevelopmentSerializerTest, 50.12511799999993]
 test_#to_header_with_an_object#DevelopmentSerializerTest (50.13s)

                Extra value in actual header: programs
                At index: 53
              .
        --- expected
        +++ actual
        @@ -1 +1 @@
        -["id", "creator_id", "created_at", "updated_at", "rdv", "asofright", "ovr55", "clusteros", "phased", "stalled", "name", "status", "desc", "project_url", "mapc_notes", "tagline", "address", "state", "zip_code", "height", "stories", "year_compl", "prjarea", "singfamhu", "twnhsmmult", "lgmultifam", "tothu", "gqpop", "rptdemp", "emploss", "estemp", "commsf", "hotelrms", "onsitepark", "total_cost", "team_membership_count", "cancelled", "private", "fa_ret", "fa_ofcmd", "fa_indmf", "fa_whs", "fa_rnd", "fa_edinst", "fa_other", "fa_hotel", "other_rate", "affordable", "latitude", "longitude", "place_id", "mixed_use", "nearest_transit", "city", "team_member_1_name", "team_member_1_website", "team_member_1_location", "team_member_1_email", "team_member_1_abbv", "team_member_1_short_name", "team_member_1_role"]
        +["id", "creator_id", "created_at", "updated_at", "rdv", "asofright", "ovr55", "clusteros", "phased", "stalled", "name", "status", "desc", "project_url", "mapc_notes", "tagline", "address", "state", "zip_code", "height", "stories", "year_compl", "prjarea", "singfamhu", "twnhsmmult", "lgmultifam", "tothu", "gqpop", "rptdemp", "emploss", "estemp", "commsf", "hotelrms", "onsitepark", "total_cost", "team_membership_count", "cancelled", "private", "fa_ret", "fa_ofcmd", "fa_indmf", "fa_whs", "fa_rnd", "fa_edinst", "fa_other", "fa_hotel", "other_rate", "affordable", "latitude", "longitude", "place_id", "mixed_use", "nearest_transit", "programs", "city", "team_member_1_name", "team_member_1_website", "team_member_1_location", "team_member_1_email", "team_member_1_abbv", "team_member_1_short_name", "team_member_1_role"]
        test/serializers/development_serializer_test.rb:62:in `block in <class:DevelopmentSerializerTest>'

 FAIL["test_cache_walk_score", DevelopmentTest, 50.23942799999713]
 test_cache_walk_score#DevelopmentTest (50.24s)
        Expected #<ExternalServices::Fakes::FakeWalkScore:0x007f8b59a3bb28 @obj=#<Development id: 980190962, creator_id: 562391268, created_at: "1970-01-01 00:00:00", updated_at: "2016-12-20 21:44:00", rdv: nil, asofright: nil, ovr55: nil, clusteros: nil, phased: nil, stalled: nil, name: "Godfrey Hotel", status: "planning", desc: nil, project_url: nil, mapc_notes: nil, tagline: nil, address: "505 Washington Street", state: "MA", zip_code: "02111", height: nil, stories: nil, year_compl: 2016, prjarea: nil, singfamhu: nil, twnhsmmult: nil, lgmultifam: nil, tothu: 0, gqpop: nil, rptdemp: nil, emploss: nil, estemp: 0, commsf: 0, hotelrms: nil, onsitepark: nil, total_cost: nil, team_membership_count: nil, cancelled: false, private: true, fa_ret: nil, fa_ofcmd: nil, fa_indmf: nil, fa_whs: nil, fa_rnd: nil, fa_edinst: nil, fa_other: nil, fa_hotel: nil, other_rate: nil, affordable: nil, latitude: #<BigDecimal:7f8b599f0dd0,'0.42000001E2',18(27)>, longitude: #<BigDecimal:7f8b599f0d08,'0.71000001E2',18(27)>, place_id: 226565033, street_view_heading: 235, street_view_pitch: 35, street_view_latitude: nil, street_view_longitude: nil, street_view_image: "\xFF\xD8\xFF\xE0\x00\x10JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00\xFF\xDB\x00C\x00\b\x06\x06\a\x06\x05\b\a\a\a\t\t\b\n\f\x14\r\f\v\v\f\x19\x12\x13\x0F...", parcel_id: nil, mixed_use: nil, nearest_transit: nil, point: nil, walkscore: {}, programs: []>> (ExternalServices::Fakes::FakeWalkScore) to respond to #empty?.
        test/models/development_test.rb:293:in `block in <class:DevelopmentTest>'

Use assert_nil if expecting nil from /Users/mzagaja/GitHub/massbuilds/test/models/development_test.rb:313:in `block in <class:DevelopmentTest>'. This will fail in MT6.A: 00:00:02
  476/476: [=================================================================================================================================] 100% Time: 00:00:50, Time: 00:00:50

Finished in 50.56147s
476 tests, 937 assertions, 21 failures, 21 errors, 42 skips