Sha256: 70081674d8a1653f5f3be60a3f458242ea012908a4ae97d38a91b486791eb507

Contents?: true

Size: 369 Bytes

Versions: 1

Compression:

Stored size: 369 Bytes

Contents

require "test_helper"
require "rubycritic/analysers_runner"

describe Rubycritic::AnalysersRunner do
  describe "#run" do
    it "returns an array containing smell adapters" do
      smell_adapters = Rubycritic::AnalysersRunner.new("test/samples/analysers_runner/empty.rb").run
      smell_adapters.each { |adapter| adapter.must_respond_to(:smells) }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubycritic-0.0.10 test/lib/rubycritic/analysers_runner_test.rb