Sha256: 279b5950359b7002a769b5623d11a83fee655985273f52be45d63662cb19b76c

Contents?: true

Size: 344 Bytes

Versions: 6

Compression:

Stored size: 344 Bytes

Contents

# Copyright (c) 2020 Jerome Arbez-Gindre
# frozen_string_literal: true

require('defmastership/comment_filter')

RSpec.describe(String) do
  context 'when .commented?' do
    it { expect('blabla'.commented?).to(be(false)) }
    it { expect('//blabla'.commented?).to(be(true)) }
    it { expect('///blabla'.commented?).to(be(false)) }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
defmastership-1.3.0 spec/unit/defmastership/string_spec.rb
defmastership-1.2.0 spec/unit/defmastership/string_spec.rb
defmastership-1.1.1 spec/unit/defmastership/string_spec.rb
defmastership-1.1.0 spec/unit/defmastership/string_spec.rb
defmastership-1.0.19 spec/unit/def_mastership/string_spec.rb
defmastership-1.0.18 spec/unit/def_mastership/string_spec.rb