diff options
| author | Zog | 2018-04-03 22:17:50 +0200 | 
|---|---|---|
| committer | Johan Van Ryseghem | 2018-04-04 11:10:39 +0200 | 
| commit | 25be8ebc3dd4de7fa8b8af0e90cfc22e59fc104c (patch) | |
| tree | 545f10272a508a7b4456b060bc9f6c65bf13447d | |
| parent | e709a1ddaf5686b3463d7697cd21cee3d15957f2 (diff) | |
| download | chouette-core-25be8ebc3dd4de7fa8b8af0e90cfc22e59fc104c.tar.bz2 | |
:fire: logs
| -rw-r--r-- | spec/models/custom_field_spec.rb | 1 | 
1 files changed, 0 insertions, 1 deletions
| diff --git a/spec/models/custom_field_spec.rb b/spec/models/custom_field_spec.rb index 1dfe6d33c..79457188f 100644 --- a/spec/models/custom_field_spec.rb +++ b/spec/models/custom_field_spec.rb @@ -47,7 +47,6 @@ RSpec.describe CustomField, type: :model do      let!(:field){ [create(:custom_field, code: :energy, field_type: 'list', options: {list_values: %w(foo bar baz)})] }      let!( :vj ){ create :vehicle_journey, custom_field_values: {energy: "1"} }      it "should cast the value" do -      p vj.custom_fields        expect(vj.custom_fields[:energy].value).to eq 1        expect(vj.custom_fields[:energy].display_value).to eq "bar"      end | 
