rodcul / pairmiscuous

Promiscuous Pair Programming @ Makers Academy
2 stars 1 forks source link

Accept first pair proposed #19

Open rodcul opened 9 years ago

rodcul commented 9 years ago

As a logged in student When I go to the homepage I will be shown the person I should pair with

Scenario: Showing proposed pair

Given a logged in student Rocco And student Chidu that I have not paired with When I visit the homepage Then system proposed Chidu as pair

Scenario: accepting pair

Given a logged in student Rocco And student Molly that I have not paired with And I visit the homepage When I click accept button Then system saves pairing session to db And I'm taken to pairing matrix And message "Congrats on pairing" is shown

Scenario: no pairs available

Given a logged in student Rocco And there are no available pairs When I visit homepage Then I'm shown a message, speak to coaches

MollieS commented 9 years ago

Pairing id, user_id, current_user_id and date