aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/custom_field_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/custom_field_spec.rb')
-rw-r--r--spec/models/custom_field_spec.rb2
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