Sha256: 966bf70dca30674a9894eb42f4affc3eced086fb390a9faf1c0e84a4e3570e2d
Contents?: true
Size: 504 Bytes
Versions: 7
Compression:
Stored size: 504 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe ::Symbol do describe '.to_var' do it 'turns a symbol into a string with _ instead of :' do expect(:var_name.to_var).to eq :var_name end end describe '.normalize_type' do it 'normalizes a type symbol' do expect(:string.normalize_type).to eq :string end end describe '.normalize_operator' do it 'normalizes an operator symbol' do expect(:copy.normalize_operator).to eq :copy end end end
Version data entries
7 entries across 7 versions & 1 rubygems