Feature: Register for a course
  As a registered user
  In order to access my class content
  I want to register for a class on the edX website

  	Scenario: I can register for a course
    Given The course "6.002x" exists
    And I am logged in
    And I visit the courses page
    When I register for the course "6.002x"
  	Then I should see the course numbered "6.002x" in my dashboard

    Scenario: I can unregister for a course
    Given I am registered for the course "6.002x"
    And I visit the dashboard
    Then I should see the course numbered "6.002x" in my dashboard
    When I unregister for the course numbered "6.002x"
    Then I should be on the dashboard page
    And I should see an empty dashboard message
    And I should NOT see the course numbered "6.002x" in my dashboard
