Skip to content

Latest commit

 

History

History
14 lines (14 loc) · 399 Bytes

_example.md

File metadata and controls

14 lines (14 loc) · 399 Bytes
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