Sha256: ed63cbfdc92ab500298b6f0b009aa8fa64c13595e3dc5e6086d469c3599d9dd6
Contents?: true
Size: 430 Bytes
Versions: 13
Compression:
Stored size: 430 Bytes
Contents
# frozen_string_literal: false require 'spec_helper' describe 'yard Sinclair::Model#for' do it 'Creating a Simple model' do car = Car.new(brand: :ford, model: :T) expect(car.brand).to eq(:ford) expect(car.model).to eq(:T) end it 'Creating a model with default values and writter' do job = Job.new expect(job.state).to eq(:starting) job.state = :done expect(job.state).to eq(:done) end end
Version data entries
13 entries across 13 versions & 1 rubygems