Sha256: 66bfa52f77b605aeebb13118e3b90b2abc7fff2ceba85e035db66cf7df8fbd2f

Contents?: true

Size: 452 Bytes

Versions: 13

Compression:

Stored size: 452 Bytes

Contents

RSpec.describe Rambo::Rake::Task do
  describe "#initialize" do
    it "defines the task" do
      expect_any_instance_of(Rambo::Rake::Task)
        .to receive(:define_task)
      described_class.new
    end
  end

  describe "rambo task" do
    before(:each) do
      Rambo::Rake::Task.new
    end

    it "calls generate_contract_tests!" do
      expect(Rambo).to receive(:generate_contract_tests!)
      Rake::Task[:rambo].invoke
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rambo_ruby-0.7.1 spec/lib/rambo/rake/task_spec.rb
rambo_ruby-0.7.0 spec/lib/rambo/rake/task_spec.rb
rambo_ruby-0.6.0 spec/lib/rambo/rake/task_spec.rb
rambo_ruby-0.5.0 spec/lib/rambo/rake/task_spec.rb
rambo_ruby-0.4.0 spec/lib/rambo/rake/task_spec.rb
rambo_ruby-0.3.3 spec/lib/rambo/rake/task_spec.rb
rambo_ruby-0.3.2 spec/lib/rambo/rake/task_spec.rb
rambo_ruby-0.3.1 spec/lib/rambo/rake/task_spec.rb
rambo_ruby-0.3.0 spec/lib/rambo/rake/task_spec.rb
rambo_ruby-0.2.3 spec/lib/rambo/rake/task_spec.rb
rambo_ruby-0.2.2 spec/lib/rambo/rake/task_spec.rb
rambo_ruby-0.2.1 spec/lib/rambo/rake/task_spec.rb
rambo_ruby-0.2.0 spec/lib/rambo/rake/task_spec.rb