Skip to content

Instantly share code, notes, and snippets.

@jlsuttles
Created February 28, 2012 01:33
Show Gist options
  • Save jlsuttles/1928391 to your computer and use it in GitHub Desktop.
Save jlsuttles/1928391 to your computer and use it in GitHub Desktop.
require 'minitest_helper'
describe Practice::ApplicationController do
describe '#next_activity' do
it 'should return the next activity given an activity in the list' do
activity1 = ACTIVITIES_IN_ORDER[0]
activity2 = ACTIVITIES_IN_ORDER[1]
next_activity(activity1).should == activity2
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment