Sha256: 199c8f9171593a0af26622abc8381c5db9273cc211d9ffde23da1b5ddd02806e

Contents?: true

Size: 315 Bytes

Versions: 21

Compression:

Stored size: 315 Bytes

Contents

require "spec_helper"

RSpec.describe "nothing" do
  subject { Code.evaluate(input).to_s }

  [
    ["nothing", ""],
    ["null", ""],
    ["nil", ""],
    ["nothing null", ""]
  ].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
template-ruby-0.5.6 spec/code/nothing_spec.rb
language-ruby-0.5.6 spec/code/nothing_spec.rb
code-ruby-0.5.6 spec/code/nothing_spec.rb
template-ruby-0.5.5 spec/code/nothing_spec.rb
language-ruby-0.5.5 spec/code/nothing_spec.rb
code-ruby-0.5.5 spec/code/nothing_spec.rb
template-ruby-0.5.4 spec/code/nothing_spec.rb
language-ruby-0.5.4 spec/code/nothing_spec.rb
code-ruby-0.5.4 spec/code/nothing_spec.rb
template-ruby-0.5.3 spec/code/nothing_spec.rb
language-ruby-0.5.3 spec/code/nothing_spec.rb
code-ruby-0.5.3 spec/code/nothing_spec.rb
template-ruby-0.5.2 spec/code/nothing_spec.rb
language-ruby-0.5.2 spec/code/nothing_spec.rb
code-ruby-0.5.2 spec/code/nothing_spec.rb
language-ruby-0.5.1 spec/code/nothing_spec.rb
template-ruby-0.5.1 spec/code/nothing_spec.rb
code-ruby-0.5.1 spec/code/nothing_spec.rb
template-ruby-0.5.0 spec/code/nothing_spec.rb
language-ruby-0.5.0 spec/code/nothing_spec.rb