Sha256: 1fcd713e75d4076be1637c749297251f2be9aa2178d80c76e95b112ff74aae28
Contents?: true
Size: 289 Bytes
Versions: 3
Compression:
Stored size: 289 Bytes
Contents
describe "Matcher::EndWith" do it 'end_with passes when the subject ends with the given string' do expect("super").to end_with("per") end it "end_with fails when the subject doesn't end with the given string" do expect_failure{ expect("super").to end_with("key") } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bacon-expect-1.0.2 | spec_app/spec/matchers/end_with_spec.rb |
bacon-expect-1.0.1 | spec_app/spec/matchers/end_with_spec.rb |
bacon-expect-0.1 | spec_app/spec/matchers/end_with_spec.rb |