Sha256: df7a4093bff35652bc58e80fc6748ae9581c45413147af4866e26f2630b5ce5d

Contents?: true

Size: 592 Bytes

Versions: 10

Compression:

Stored size: 592 Bytes

Contents

riml_include 'dsl.riml'

class EqualityMatcherSpec
  defm describe
    return "EqualityMatcher"
  end

  defm it_can_check_equality_of_strings
    expect('foo').to_equal('foo')
  end

  defm it_can_check_inequality_of_strings
    expect('foo').to_not_equal('bar')
  end

  defm it_can_check_equality_of_numbers
    expect(1).to_equal(1)
  end

  defm it_can_check_inequality_of_numbers
    expect(1).to_not_equal(2)
  end

  defm it_can_check_equality_with_alias_eq
    expect('foo').to_eq('foo')
  end

  defm it_can_check_inequality_with_alias_neq
    expect('foo').to_neq('bar')
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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