describe 'https://github.com/crismali/fantaskspec' do
it { is_expected.to depend_on(:environment) }
it "executes some code" do
expect(subject.execute).to eq(task.execute)
end
context "some sort of context" do
it "still uses 'some_task' as the name of the task" do
expect(task_name).to eq("hub:feeds:sweep")
expect(task_name).to eq(subject.name)
end
end
end