Skip to content

Instantly share code, notes, and snippets.

@cored
Created April 2, 2013 18:35
Show Gist options
  • Select an option

  • Save cored/5294900 to your computer and use it in GitHub Desktop.

Select an option

Save cored/5294900 to your computer and use it in GitHub Desktop.
require_relative '../../spec_helper'
describe TM::Commands::LastTask do
include_context 'task_commands_context' do
before(:each) do
taskmapper.should_receive(project).with({}).and_return(project)
end
context :execute do
subject do
TM::Commands::LastTask.new(
provider_handler,
formatter).execute
end
it { should_not be_nil }
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment