aboutsummaryrefslogtreecommitdiffstats
path: root/spec/lib/model_attribute_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/model_attribute_spec.rb')
-rw-r--r--spec/lib/model_attribute_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/model_attribute_spec.rb b/spec/lib/model_attribute_spec.rb
index 73114ae1e..8463d12fe 100644
--- a/spec/lib/model_attribute_spec.rb
+++ b/spec/lib/model_attribute_spec.rb
@@ -23,7 +23,7 @@ RSpec.describe ModelAttribute do
ModelAttribute.new(:journey_pattern, :name, :string)
])
- expect(ModelAttribute.methods_by_class('Route')).to match_array([
+ expect(ModelAttribute.methods_by_class(:route)).to match_array([
ModelAttribute.new(:route, :name, :string),
ModelAttribute.new(:route, :published_name, :string),
ModelAttribute.new(:route, :direction, :string)