Sha256: ed40a586e03581d6d6d7f4e2a80f95b0d4157d8f95d73455111bf4dd30446553

Contents?: true

Size: 241 Bytes

Versions: 15

Compression:

Stored size: 241 Bytes

Contents

require 'rails_helper'

describe Fe::Condition, type: :model do
  it { expect belong_to :question_sheet }
  it { expect belong_to :trigger }
  it { expect validate_presence_of :expression }
  it { expect validate_length_of :expression }
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
fe-2.1.6.1 spec/models/fe/condition_spec.rb
fe-2.1.6 spec/models/fe/condition_spec.rb
fe-2.1.5 spec/models/fe/condition_spec.rb
fe-2.1.4 spec/models/fe/condition_spec.rb
fe-2.1.3 spec/models/fe/condition_spec.rb
fe-2.1.2 spec/models/fe/condition_spec.rb
fe-2.1.1 spec/models/fe/condition_spec.rb
fe-2.0.8 spec/models/fe/condition_spec.rb
fe-2.0.6 spec/models/fe/condition_spec.rb
fe-2.0.5 spec/models/fe/condition_spec.rb
fe-2.0.4 spec/models/fe/condition_spec.rb
fe-2.0.3 spec/models/fe/condition_spec.rb
fe-2.0.2 spec/models/fe/condition_spec.rb
fe-2.0.1 spec/models/fe/condition_spec.rb
fe-2.0.0 spec/models/fe/condition_spec.rb