Sha256: e81ff8879c905b850fd59de667333550842366af22bb53b52c3a20420767ed9f

Contents?: true

Size: 506 Bytes

Versions: 29

Compression:

Stored size: 506 Bytes

Contents

riml_include 'dsl.riml'

class BooleanMatcherSpec
  defm describe
    return 'BooleanMatcher'
  end

  defm it_can_check_for_truthy
    expect(true).to_be_true()
    expect(1).to_be_true()
  end

  defm it_can_check_for_truthy_with_ok
    expect(true).to_be_ok()
    expect(1).to_be_ok()
  end

  defm it_can_check_for_falsy
    expect(false).to_be_false()
    expect(0).to_be_false()
  end

  defm it_can_check_for_falsy_with_not_ok
    expect(false).to_not_be_ok()
    expect(0).to_not_be_ok()
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
speckle-0.1.12 spec/matchers/boolean_matcher_spec.riml
speckle-0.1.11 spec/matchers/boolean_matcher_spec.riml
speckle-0.1.10 spec/matchers/boolean_matcher_spec.riml
speckle-0.1.9 spec/matchers/boolean_matcher_spec.riml
speckle-0.1.8 spec/matchers/boolean_matcher_spec.riml
speckle-0.1.7 spec/matchers/boolean_matcher_spec.riml
speckle-0.1.4 spec/matchers/boolean_matcher_spec.riml
speckle-0.1.3 spec/matchers/boolean_matcher_spec.riml
speckle-0.1.2 spec/matchers/boolean_matcher_spec.riml