Sha256: 1f55708be919ec23564179bc0ed83fe458fec266416abffbc8e54c064a96f0ff

Contents?: true

Size: 288 Bytes

Versions: 65

Compression:

Stored size: 288 Bytes

Contents

# frozen_string_literal: true

require "spec_helper"

RSpec.describe Code::Parser::ChainedCall do
  [
    "a.b",
    "user.first_name",
    "user.admin?",
    'user.update!(name: "Dorian")'
  ].each do |input|
    it "parses #{input}" do
      Code::Parser.parse(input)
    end
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
code-ruby-0.14.9 spec/code/parser/chained_call.rb
code-ruby-0.14.8 spec/code/parser/chained_call.rb
code-ruby-0.14.6 spec/code/parser/chained_call.rb
code-ruby-0.14.5 spec/code/parser/chained_call.rb
code-ruby-0.14.4 spec/code/parser/chained_call.rb
code-ruby-0.14.3 spec/code/parser/chained_call.rb
code-ruby-0.14.2 spec/code/parser/chained_call.rb
code-ruby-0.14.1 spec/code/parser/chained_call.rb
code-ruby-0.14.0 spec/code/parser/chained_call.rb
code-ruby-0.13.1 spec/code/parser/chained_call.rb
code-ruby-0.13.0 spec/code/parser/chained_call.rb
code-ruby-0.12.0 spec/code/parser/chained_call.rb
code-ruby-0.11.0 spec/code/parser/chained_call.rb
code-ruby-0.10.4 spec/code/parser/chained_call.rb
code-ruby-0.10.3 spec/code/parser/chained_call.rb
code-ruby-0.10.2 spec/code/parser/chained_call.rb
code-ruby-0.10.1 spec/code/parser/chained_call.rb
code-ruby-0.10.0 spec/code/parser/chained_call.rb
code-ruby-0.9.3 spec/code/parser/chained_call.rb
code-ruby-0.9.2 spec/code/parser/chained_call.rb