Sha256: 7af817016af5e78d28cdf943259669432482c9fb8af6a577bd68204d8e2bd406

Contents?: true

Size: 592 Bytes

Versions: 16

Compression:

Stored size: 592 Bytes

Contents

describe Knapsack::TaskLoader do
  describe '#load_tasks' do
    let(:rspec_rake_task_path) { "#{Knapsack.root}/lib/tasks/knapsack_rspec.rake" }
    let(:cucumber_rake_task_path) { "#{Knapsack.root}/lib/tasks/knapsack_cucumber.rake" }
    let(:minitest_rake_task_path) { "#{Knapsack.root}/lib/tasks/knapsack_minitest.rake" }

    it do
      expect(subject).to receive(:import).with(rspec_rake_task_path)
      expect(subject).to receive(:import).with(cucumber_rake_task_path)
      expect(subject).to receive(:import).with(minitest_rake_task_path)
      subject.load_tasks
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
knapsack-1.10.0 spec/knapsack/task_loader_spec.rb
knapsack-1.9.0 spec/knapsack/task_loader_spec.rb
knapsack-1.8.0 spec/knapsack/task_loader_spec.rb
knapsack-1.7.0 spec/knapsack/task_loader_spec.rb
knapsack-1.6.1 spec/knapsack/task_loader_spec.rb
knapsack-1.6.0 spec/knapsack/task_loader_spec.rb
knapsack-1.5.1 spec/knapsack/task_loader_spec.rb
knapsack-1.5.0 spec/knapsack/task_loader_spec.rb
knapsack-1.4.1 spec/knapsack/task_loader_spec.rb
knapsack-1.4.0 spec/knapsack/task_loader_spec.rb
knapsack-1.3.4 spec/knapsack/task_loader_spec.rb
knapsack-1.3.3 spec/knapsack/task_loader_spec.rb
knapsack-1.3.1 spec/knapsack/task_loader_spec.rb
knapsack-1.3.0 spec/knapsack/task_loader_spec.rb
knapsack-1.2.1 spec/knapsack/task_loader_spec.rb
knapsack-1.2.0 spec/knapsack/task_loader_spec.rb