Sha256: fe4e47a1db90b164a95b29236e745bec7f651b345b374f5420a23a71909466f0

Contents?: true

Size: 330 Bytes

Versions: 21

Compression:

Stored size: 330 Bytes

Contents

require "spec_helper"

RSpec.describe Code::Parser::Boolean do
  subject { Code::Parser.parse(input) }

  [
    ["true", [{ boolean: "true" }]],
    ["false", [{ boolean: "false" }]]
  ].each do |input, output|
    context input.inspect 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/parser/boolean_spec.rb
language-ruby-0.5.6 spec/code/parser/boolean_spec.rb
code-ruby-0.5.6 spec/code/parser/boolean_spec.rb
template-ruby-0.5.5 spec/code/parser/boolean_spec.rb
language-ruby-0.5.5 spec/code/parser/boolean_spec.rb
code-ruby-0.5.5 spec/code/parser/boolean_spec.rb
template-ruby-0.5.4 spec/code/parser/boolean_spec.rb
language-ruby-0.5.4 spec/code/parser/boolean_spec.rb
code-ruby-0.5.4 spec/code/parser/boolean_spec.rb
template-ruby-0.5.3 spec/code/parser/boolean_spec.rb
language-ruby-0.5.3 spec/code/parser/boolean_spec.rb
code-ruby-0.5.3 spec/code/parser/boolean_spec.rb
template-ruby-0.5.2 spec/code/parser/boolean_spec.rb
language-ruby-0.5.2 spec/code/parser/boolean_spec.rb
code-ruby-0.5.2 spec/code/parser/boolean_spec.rb
language-ruby-0.5.1 spec/code/parser/boolean_spec.rb
template-ruby-0.5.1 spec/code/parser/boolean_spec.rb
code-ruby-0.5.1 spec/code/parser/boolean_spec.rb
template-ruby-0.5.0 spec/code/parser/boolean_spec.rb
language-ruby-0.5.0 spec/code/parser/boolean_spec.rb