Sha256: eea2518cbe4a1b555140b4a09daf72578f0f97cda55f1e9c97365d2f8b522e34
Contents?: true
Size: 432 Bytes
Versions: 30
Compression:
Stored size: 432 Bytes
Contents
require "spec_helper" describe SC::Buildfile::Commands, 'build_task' do it "should add a new task to the buildfile" do b = SC::Buildfile.define do build_task :task1 end b.task_defined?(:task1).should_not be_nil end it "should add a new task with class BuildTask" do b = SC::Buildfile.define do build_task :task1 end b.lookup(:task1).class.should eql(SC::Buildfile::BuildTask) end end
Version data entries
30 entries across 30 versions & 1 rubygems