Sha256: 706bcbfe8d9cff5a96b3458d585087cf482c3517c41559b4e0acde209577b026

Contents?: true

Size: 143 Bytes

Versions: 9

Compression:

Stored size: 143 Bytes

Contents

RSpec::Matchers.define :be_boolean do
  match do |actual|
    expect(actual.is_a?(TrueClass) || actual.is_a?(FalseClass)).to be true
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
daru_lite-0.1.3 spec/support/matchers.rb
daru_lite-0.1.2 spec/support/matchers.rb
daru_lite-0.1.1 spec/support/matchers.rb
daru_lite-0.1 spec/support/matchers.rb
daru-0.3 spec/support/matchers.rb
daru-0.2.2 spec/support/matchers.rb
daru-0.2.1 spec/support/matchers.rb
daru-0.2.0 spec/support/matchers.rb
daru-0.1.6 spec/support/matchers.rb