Skip to content

Instantly share code, notes, and snippets.

@refractalize
Created December 4, 2010 17:02
Show Gist options
  • Save refractalize/728325 to your computer and use it in GitHub Desktop.
Save refractalize/728325 to your computer and use it in GitHub Desktop.
[Test]
public void finding_a_series() {
string aeNumber;
ISeries series;
given_a_tv_series_already_exists(aeNumber: out aeNumber, series: out series);
when_a_user_searches_for_a_tv_series_by_ae_number(aeNumber);
then_details_of_that_tv_series_should_be_displayed(series);
}
[Test]
public void not_finding_a_series() {
string aeNumber;
given_a_tv_series_that_doesnt_exist(aeNumber: out aeNumber);
when_a_user_searches_for_a_tv_series_by_ae_number(aeNumber);
then_explain_that_the_series_could_not_be_found();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment