diff options
| author | Zog | 2018-04-11 10:08:15 +0200 |
|---|---|---|
| committer | Zog | 2018-04-11 10:08:15 +0200 |
| commit | 0f8994b5e80a66e123f5a7a26f5073e799716249 (patch) | |
| tree | 27418bf6bce7bb282fb87e74e0a8962a914ded6c /spec/models/custom_field_spec.rb | |
| parent | cd6eabcfbebf10f519c36c798301278755f59f18 (diff) | |
| download | chouette-core-0f8994b5e80a66e123f5a7a26f5073e799716249.tar.bz2 | |
Specs cleanup
Diffstat (limited to 'spec/models/custom_field_spec.rb')
| -rw-r--r-- | spec/models/custom_field_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/custom_field_spec.rb b/spec/models/custom_field_spec.rb index 4c1b65a15..ce6ce9fa5 100644 --- a/spec/models/custom_field_spec.rb +++ b/spec/models/custom_field_spec.rb @@ -52,7 +52,7 @@ RSpec.describe CustomField, type: :model do end it "should not break initailizartion if the model does not have the :custom_field_values attribute" do - expect{Chouette::VehicleJourney.where(id: vj.id).select(:id).last}.to_not raise_error(ActiveModel::MissingAttributeError) + expect{Chouette::VehicleJourney.where(id: vj.id).select(:id).last}.to_not raise_error end it "should validate the value" do |
