Sha256: 05a72270649fb125aac6946949058cc528038f72cd1e571e944900df573d0cd7

Contents?: true

Size: 506 Bytes

Versions: 1

Compression:

Stored size: 506 Bytes

Contents

module Brut::SpecSupport::GeneralSupport
  def self.included(mod)
    mod.extend(ClassMethods)
  end

  module ClassMethods
    def implementation_is_trivial
      it "has no tests because the implementation is trivial" do
        expect(true).to eq(true)
      end
    end
    def implementation_is_covered_by_other_tests(description)
      it "has no tests because the implementation is sufficiently covered by other tests: #{description}" do
        expect(true).to eq(true)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
brut-0.0.1 lib/brut/spec_support/general_support.rb