Sha256: afbffd0a48014d62cf089d220e955cbe2ece0928effd27905e32ffeed57d56bf

Contents?: true

Size: 304 Bytes

Versions: 5

Compression:

Stored size: 304 Bytes

Contents

require 'spec_helper'

describe Webmachine::Decision::Falsey do
  specify { expect(described_class.=== false).to be(true) }
  specify { expect(described_class.=== nil).to be(true) }
  specify { expect(described_class.=== true).to be(false) }
  specify { expect(described_class.=== []).to be(false) }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
webmachine-1.6.0 spec/webmachine/decision/falsey_spec.rb
webmachine-1.5.0 spec/webmachine/decision/falsey_spec.rb
webmachine-1.4.0 spec/webmachine/decision/falsey_spec.rb
webmachine-1.3.1 spec/webmachine/decision/falsey_spec.rb
webmachine-1.3.0 spec/webmachine/decision/falsey_spec.rb