```ruby
require 'test_helper'

class MissionTest < ActiveSupport::TestCase

  test "all items related to that mission are removed when a mission is deleted" do
    mission = FactoryGirl.create(:mission_with_full_heirarchy)

    assert_difference('Mission.count', -1) do
      assert_difference('Broadcast.count', -1) do
        assert_difference('Form.count', -1) do
          assert_difference('Option.count', -1) do
            assert_difference('Report::Report.count', -1) do
              mission.terminate_mission
            end
          end
        end
      end
    end
  end

end
```

Modify test for change in FactoryGirl result in Option/OptionSet
user
```ruby
require 'test_helper'

class MissionTest < ActiveSupport::TestCase

  test "all items related to that mission are removed when a mission is deleted" do
    mission = FactoryGirl.create(:mission_with_full_heirarchy)

    assert_difference('Mission.count', -1) do
      assert_difference('Broadcast.count', -1) do
        assert_difference('Form.count', -1) do
          assert_difference('Option.count', -3) do
            assert_difference('OptionSet.count', -1) do
              assert_difference('Report::Report.count', -1) do
                mission.terminate_mission
              end
            end
          end
        end
      end
    end
  end

end
```
assistant