Sha256: 918fb3b904d68eac686632e2efe4d6d11dac8804188b1fa2889462c56ba3ad07
Contents?: true
Size: 341 Bytes
Versions: 21
Compression:
Stored size: 341 Bytes
Contents
require "spec_helper" RSpec.describe "or operator" do let(:timeout) { 0 } subject { Code.evaluate(input, timeout: timeout).to_s } [ ["true || false", "true"], ["false || false", "false"] ].each do |input, output| context input do let(:input) { input } it { expect(subject).to eq(output) } end end end
Version data entries
21 entries across 21 versions & 3 rubygems
Version | Path |
---|---|
code-ruby-0.5.0 | spec/code/or_operator_spec.rb |