Sha256: 4bd112befa88b30c39cf093e45a8ac09eeae44775f7616b61aea1404e04bc425
Contents?: true
Size: 288 Bytes
Versions: 1
Compression:
Stored size: 288 Bytes
Contents
require "spec_helper" Task = Saber::Task class Task::HelloTest < Task::Base def invoke(*args) args end end describe Task do it "(complete example)" do expect(Task["hello_test"]).to be(Task::HelloTest) expect(Task["hello_test"].invoke(1, 2)).to eq([1, 2]) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
saber-1.0.0 | spec/saber/task_spec.rb |