Skip to content

Instantly share code, notes, and snippets.

@Capncavedan
Created May 20, 2011 14:32
Show Gist options
  • Save Capncavedan/983025 to your computer and use it in GitHub Desktop.
Save Capncavedan/983025 to your computer and use it in GitHub Desktop.
Rider combinations for Theft Guard bonds
@http://www.pivotaltracker.com/story/show/9610041
Feature: agent orders theft guard bond
As an agent I should be able to order a theft guard bond
with only valid rider combinations
Background:
Given the fidelity bond templates
Given I'm an authenticated agent belonging to an agency
When I go to the Theft Guard products page
# # # # # # # # # # THEFT GUARD STANDARD # # # # # # # # # #
Scenario: agent orders Theft Guard Standard bond for sole prop and is presented with appropriate riders
And I follow "theftguard_standard"
And I select "$20,000" from "Bond Amount"
And I fill in "Number Of Individuals Covered" with "5"
And I select "1" from "Number Of Years"
And I choose "fidelity_bond_organization_type_id_sole_proprietorship_or_partnership"
And I fill in "Business Type" with "Rocketship Sales"
And I select "12/12/2014" as the fidelity_bond "date" date
And I press "Continue"
Then I should see "Are Any Independent Contractors To Be Covered?"
And I should see "Are Owners To Be Covered?"
And I should not see "Are Volunteers To Be Covered?"
And I should not see "Are Officers To Be Covered?"
Scenario: agent orders Theft Guard Standard bond for Corp/LLC and is presented with appropriate riders
And I follow "theftguard_standard"
And I select "$20,000" from "Bond Amount"
And I fill in "Number Of Individuals Covered" with "5"
And I select "1" from "Number Of Years"
And I choose "fidelity_bond_organization_type_id_other"
And I fill in "Business Type" with "Rocketship Sales"
And I select "12/12/2014" as the fidelity_bond "date" date
And I press "Continue"
Then I should see "Are Any Independent Contractors To Be Covered?"
And I should not see "Are Owners To Be Covered?"
And I should not see "Are Volunteers To Be Covered?"
And I should see "Are Officers To Be Covered?"
Scenario: agent orders Theft Guard Standard bond for nonprofit/fraternal org and is presented with appropriate riders
And I follow "theftguard_standard"
And I select "$20,000" from "Bond Amount"
And I fill in "Number Of Individuals Covered" with "5"
And I select "1" from "Number Of Years"
And I choose "fidelity_bond_organization_type_id_non_profit_or_fraternal"
And I fill in "Business Type" with "Rocketship Sales"
And I select "12/12/2014" as the fidelity_bond "date" date
And I press "Continue"
Then I should not see "Are Any Independent Contractors To Be Covered?"
And I should not see "Are Owners To Be Covered?"
And I should see "Are Volunteers To Be Covered?"
And I should not see "Are Officers To Be Covered?"
And I should see "Officer Coverage Selection"
And I should see "No Officer Coverage" within "#fidelity_bond_officer_coverage_selection"
And I should see "Officers - Include Employees" within "#fidelity_bond_officer_coverage_selection"
And I should see "Officers - Exclude Employees" within "#fidelity_bond_officer_coverage_selection"
# # # # # # # # # # THEFT GUARD PRO # # # # # # # # # #
Scenario: agent orders Theft Guard Pro bond for sole prop and is presented with appropriate riders
And I follow "theftguard_pro"
And I select "$20,000" from "Bond Amount"
And I fill in "Number Of Individuals Covered" with "5"
And I select "1" from "Number Of Years"
And I choose "fidelity_bond_organization_type_id_sole_proprietorship_or_partnership"
And I fill in "Business Type" with "Rocketship Sales"
And I select "12/12/2014" as the fidelity_bond "date" date
And I press "Continue"
Then I should see "Are Any Independent Contractors To Be Covered?"
And I should not see "Are Owners To Be Covered?"
And I should not see "Are Volunteers To Be Covered?"
And I should not see "Are Officers To Be Covered?"
Scenario: agent orders Theft Guard Pro bond for Corp/LLC and is presented with appropriate riders
And I follow "theftguard_pro"
And I select "$20,000" from "Bond Amount"
And I fill in "Number Of Individuals Covered" with "5"
And I select "1" from "Number Of Years"
And I choose "fidelity_bond_organization_type_id_other"
And I fill in "Business Type" with "Rocketship Sales"
And I select "12/12/2014" as the fidelity_bond "date" date
And I press "Continue"
Then I should see "Are Any Independent Contractors To Be Covered?"
And I should not see "Are Owners To Be Covered?"
And I should not see "Are Volunteers To Be Covered?"
And I should see "Are Officers To Be Covered?"
Scenario: agent orders Theft Guard Pro bond for nonprofit/fraternal org and is presented with appropriate riders
And I follow "theftguard_pro"
And I select "$20,000" from "Bond Amount"
And I fill in "Number Of Individuals Covered" with "5"
And I select "1" from "Number Of Years"
And I choose "fidelity_bond_organization_type_id_non_profit_or_fraternal"
And I fill in "Business Type" with "Rocketship Sales"
And I select "12/12/2014" as the fidelity_bond "date" date
And I press "Continue"
Then I should not see "Are Any Independent Contractors To Be Covered?"
And I should not see "Are Owners To Be Covered?"
And I should see "Are Volunteers To Be Covered?"
And I should not see "Are Officers To Be Covered?"
And I should see "Officer Coverage Selection"
And I should not see "No Officer Coverage" within "#fidelity_bond_officer_coverage_selection"
And I should not see "Officers - Include Employees" within "#fidelity_bond_officer_coverage_selection"
And I should see "Officers - Exclude Employees" within "#fidelity_bond_officer_coverage_selection"
# # # # # # # # # # THEFT GUARD JANITORIAL # # # # # # # # # #
Scenario: agent orders Theft Guard Janitorial bond for sole prop and is presented with appropriate riders
And I follow "theftguard_janitorial"
And I select "$20,000" from "Bond Amount"
And I fill in "Number Of Individuals Covered" with "5"
And I select "1" from "Number Of Years"
And I choose "fidelity_bond_organization_type_id_sole_proprietorship_or_partnership"
And I select "12/12/2014" as the fidelity_bond "date" date
And I press "Continue"
Then I should see "Are Any Independent Contractors To Be Covered?"
And I should see "Are Owners To Be Covered?"
And I should not see "Are Volunteers To Be Covered?"
And I should not see "Are Officers To Be Covered?"
Scenario: agent orders Theft Guard Janitorial bond for Corp/LLC and is presented with appropriate riders
And I follow "theftguard_janitorial"
And I select "$20,000" from "Bond Amount"
And I fill in "Number Of Individuals Covered" with "5"
And I select "1" from "Number Of Years"
And I choose "fidelity_bond_organization_type_id_other"
And I select "12/12/2014" as the fidelity_bond "date" date
And I press "Continue"
Then I should see "Are Any Independent Contractors To Be Covered?"
And I should not see "Are Owners To Be Covered?"
And I should not see "Are Volunteers To Be Covered?"
And I should see "Are Officers To Be Covered?"
Scenario: agent cannot order Theft Guard Janitorial bond for nonprofit/fraternal org
And I follow "theftguard_janitorial"
And I should not see "Non-profit"
And I should not see "Fraternal Organization"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment