diff options
| author | Teddy Wing | 2017-09-22 12:05:10 +0200 |
|---|---|---|
| committer | Teddy Wing | 2017-09-22 12:05:10 +0200 |
| commit | 198659b133aba39cdd92d37fd3b93a223159994b (patch) | |
| tree | 6b13895793fe022a4d91037f642834effaebfa1a | |
| parent | 5b437302c3cbc90f920de11169f249658c23a5ee (diff) | |
| download | chouette-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
| -rw-r--r-- | spec/lib/model_attribute_spec.rb | 2 |
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) |
