Sha256: 2e3ed0218d4a8fd7e5092baa004374dbe4e8a593c459727e3544910a35c4fe53
Contents?: true
Size: 485 Bytes
Versions: 2
Compression:
Stored size: 485 Bytes
Contents
require 'spec_helper' require 'koality/rake_task' describe Koality::RakeTask do before do Rake::Task.clear end describe '.new' do it 'allows you to configure options' do task = Koality::RakeTask.new do |options| options.should == Koality.options end end it 'defines a task that runs Koality with the options' do Koality::RakeTask.new task = Rake::Task[:koality] Koality.expects(:run) task.invoke end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
koality-1.0.1 | spec/koality/rake_task_spec.rb |
koality-1.0.0 | spec/koality/rake_task_spec.rb |