Sha256: a7c4d2c199e9c065c399c20c74348ca0c7f86ffc01534eb84463f6f8fb0a6706

Contents?: true

Size: 321 Bytes

Versions: 2

Compression:

Stored size: 321 Bytes

Contents

# encoding: utf-8

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

  let(:task) { Rake::Task["check:inch"] }

  describe ".invoke", :sandbox, :capture do

    subject { try_in_sandbox { task.invoke } }

    it "runs inch metric" do
      expect { subject }.to change { commands }.to ["inch --pedantic"]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hexx-suit-2.3.2 spec/tests/tasks/check/inch_spec.rb
hexx-suit-2.3.0 spec/tests/tasks/check/inch_spec.rb