ChrisBAshton/smartresolution

View on GitHub
data/fixtures/fixture_data.yml

Summary

Maintainability
Test Coverage
administrators:
  - email:    admin@smartresolution.org
    password: test
organisations:
  - account_details:
        email:    law_firm_a@t.co
        password: test
    details:
        type:     law_firm
        name:     Webdapper Ltd
    individuals:
      - account_details:
            email:    agent_a@t.co
            password: test
        details:
            type:     agent
            forename: Chris
            surname:  Ashton
      - account_details:
            email:    agent_c@t.co
            password: secret
        details:
            type:     agent
            forename: John
            surname:  Smith
      - account_details:
            email:    unverified@t.co
            password: test
        details:
            type:     agent
            forename: Unverified
            surname:  Agent
  - account_details:
        email:    law_firm_b@t.co
        password: test
    details:
        type:        law_firm
        name:        Maritime Collision Specialists Inc
        description: "#Description coming soon"
    individuals:
      - account_details:
            email:    agent_b@t.co
            password: test
        details:
            type:     agent
            forename: James
            surname:  Smith
  - account_details:
        email:    law_firm_with_only_one_dispute@company.com
        password: test
    details:
        type:     law_firm
        name:     This law firm should only have one dispute associated with it for checking the notifications feature works correctly.
    individuals:
      - account_details:
            email:    one_dispute_agent@company.com
            password: test
        details:
            type:     agent
            forename: Bob
            surname:  Hope
  - account_details:
        email:    law_firm_with_no_agents@t.co
        password: test
    details:
        type:     law_firm
        name:     Lonely Inc
  - account_details:
        email:    mediation_centre_email@we-mediate.co.uk
        password: test
    details:
        type:     mediation_centre
        name:     WeMediate
    individuals:
      - account_details:
            email:    john.smith@we-mediate.co.uk
            password: test
        details:
            type:     mediator
            forename: John
            surname:  Smith
            cv:       "#CV coming soon."
  - account_details:
        email:    we@also-mediate.co
        password: test
    details:
        type:     mediation_centre
        name:     We Also Mediate!
    individuals:
      - account_details:
            email:    tim@also-mediate.co
            password: test
        details:
            type:     mediator
            forename: McGuinness
            surname:  Guiness
disputes:
  - title:      A simple test dispute
    type:       other
    law_firm_a: law_firm_a@t.co
    agent_a:    agent_a@t.co
  - title:      The one dispute
    type:       other
    law_firm_a: law_firm_with_only_one_dispute@company.com
    agent_a:    one_dispute_agent@company.com
  - title:      A dispute assigned to law firm B
    type:       other
    law_firm_a: law_firm_a@t.co
    law_firm_b: law_firm_b@t.co
    agent_a:    agent_a@t.co
  - title:      A fully assigned dispute with no lifespan
    type:       other
    law_firm_a: law_firm_a@t.co
    law_firm_b: law_firm_b@t.co
    agent_a:    agent_a@t.co
    agent_b:    agent_b@t.co
    summary_a:  Here is a summary for party A.
    summary_b:  Here is a summary for party B.
  - title:      A dispute with a proposed lifespan
    type:       other
    law_firm_a: law_firm_a@t.co
    law_firm_b: law_firm_b@t.co
    agent_a:    agent_a@t.co
    agent_b:    agent_b@t.co
    summary_a:  Here is a summary for party A.
    summary_b:  Here is a summary for party B.
    lifespan:   offered
  - title:      A dispute with a declined lifespan
    type:       other
    law_firm_a: law_firm_a@t.co
    law_firm_b: law_firm_b@t.co
    agent_a:    agent_a@t.co
    agent_b:    agent_b@t.co
    summary_a:  Here is a summary for party A.
    summary_b:  Here is a summary for party B.
    lifespan:   declined
  - title:      A dispute that has ended
    type:       other
    law_firm_a: law_firm_a@t.co
    law_firm_b: law_firm_b@t.co
    agent_a:    agent_a@t.co
    agent_b:    agent_b@t.co
    summary_a:  Here is a summary for party A.
    summary_b:  Here is a summary for party B.
    lifespan:   ended
  - title:            Dispute that has agreed on a Mediation Centre
    type:             other
    law_firm_a:       law_firm_a@t.co
    law_firm_b:       law_firm_b@t.co
    agent_a:          agent_a@t.co
    agent_b:          agent_b@t.co
    lifespan:         accepted
    evidence:         one_item
    mediation_centre: mediation_centre_email@we-mediate.co.uk
  - title:            Dispute that is in mediation
    type:             other
    law_firm_a:       law_firm_a@t.co
    law_firm_b:       law_firm_b@t.co
    agent_a:          agent_a@t.co
    agent_b:          agent_b@t.co
    lifespan:         accepted
    evidence:         one_item
    mediation_centre: mediation_centre_email@we-mediate.co.uk
    mediator:         john.smith@we-mediate.co.uk
  - title:      Smith versus Jones
    type:       other
    law_firm_a: law_firm_a@t.co
    law_firm_b: law_firm_b@t.co
    agent_a:    agent_a@t.co
    agent_b:    agent_b@t.co
    summary_a:  >
                    Our client alleges that Jones deliberately damaged our client's vessel,
                    causing $3,000 USD of damages. We are seeking compensation on behalf of
                    our client.
    summary_b:  >
                    It is our belief that Jones was operating their vessel in accordance with
                    all regulations and that the damage done to Smith's vessel was an act of
                    God. Our client should not have to pay the claimant any damages.
    lifespan:   accepted
    evidence:   one_item