aboutsummaryrefslogtreecommitdiffstats
path: root/spec/lib/model_attribute_spec.rb
diff options
context:
space:
mode:
authorTeddy Wing2017-09-22 12:05:10 +0200
committerTeddy Wing2017-09-22 12:05:10 +0200
commit198659b133aba39cdd92d37fd3b93a223159994b (patch)
tree6b13895793fe022a4d91037f642834effaebfa1a /spec/lib/model_attribute_spec.rb
parent5b437302c3cbc90f920de11169f249658c23a5ee (diff)
downloadchouette-core-198659b133aba39cdd92d37fd3b93a223159994b.tar.bz2
ModelAttribute spec: Rename `@@all`
In c9a997f337c9b45f62b50629de96fa95f20c1a7f, we changed the storage mechanism of `all` and made it not a class method. Update the spec description to reflect this. Refs #4401
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 8463d12fe..2da178d2c 100644
--- a/spec/lib/model_attribute_spec.rb
+++ b/spec/lib/model_attribute_spec.rb
@@ -1,6 +1,6 @@
RSpec.describe ModelAttribute do
describe ".define" do
- it "adds a new instance of ModelAttribute to @@all" do
+ it "adds a new instance of ModelAttribute to .all" do
expect do
ModelAttribute.define(:route, :name, :string)
end.to change { ModelAttribute.all.length }.by(1)