Sha256: d67a4e593c8d93d35d40d8f3cb8bb58f0268e04552ffa94b8cf12caaa2777054

Contents?: true

Size: 402 Bytes

Versions: 9

Compression:

Stored size: 402 Bytes

Contents

# encoding: utf-8

describe "Rake::Task['check:yardstick:run']", :tasks do

  let(:metric) { Hexx::Suit::Metrics::Yardstick }
  let(:task)   { Rake::Task["check:yardstick:run"] }

  describe ".invoke", :sandbox do

    subject { try_in_sandbox { task.invoke } }

    context "always" do

      it "runs the metric" do
        expect(metric).to receive(:run)
        subject
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
hexx-suit-1.5.0-x86_64-linux spec/tests/tasks/check/yardstick/run_spec.rb
hexx-suit-1.3.0-x86_64-linux spec/tests/tasks/check/yardstick/run_spec.rb
hexx-suit-1.2.0 spec/tests/tasks/check/yardstick/run_spec.rb
hexx-suit-1.0.0 spec/tests/tasks/check/yardstick/run_spec.rb
hexx-suit-0.2.2 spec/tests/tasks/check/yardstick/run_spec.rb
hexx-suit-0.2.1 spec/tests/tasks/check/yardstick/run_spec.rb
hexx-suit-0.2.0 spec/tests/tasks/check/yardstick/run_spec.rb
hexx-suit-0.1.0 spec/tests/tasks/check/yardstick/run_spec.rb
hexx-suit-0.0.1 spec/tests/tasks/check/yardstick/run_spec.rb