diff options
| author | Robert | 2017-12-19 11:09:25 +0100 |
|---|---|---|
| committer | Robert | 2017-12-19 11:09:25 +0100 |
| commit | 79c64f5f5cd550671c4f8dd81c26100137f05f4d (patch) | |
| tree | f814d66f058a76582747827f8943d09aaaf6369c /spec | |
| parent | 44be936f29f3bacd9403d832df25aaf370af8079 (diff) | |
| download | chouette-core-79c64f5f5cd550671c4f8dd81c26100137f05f4d.tar.bz2 | |
Refs: #5311@0.1h; Minor CR changes5311-stop-area-type-customizable
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/models/chouette/area_type_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/chouette/area_type_spec.rb b/spec/models/chouette/area_type_spec.rb index 82003b0ee..470e3a066 100644 --- a/spec/models/chouette/area_type_spec.rb +++ b/spec/models/chouette/area_type_spec.rb @@ -3,8 +3,8 @@ require "rails_helper" RSpec.describe Chouette::AreaType do describe "::ALL" do - it "include all supported types" do - expect(Chouette::AreaType::ALL).to eq %i(zdep zder zdlp zdlr lda) + it "includes all supported types" do + expect(Chouette::AreaType::ALL).to match_array( %i(zdep zder zdlp zdlr lda) ) end end @@ -13,7 +13,7 @@ RSpec.describe Chouette::AreaType do expect(Chouette::AreaType.find('dummy')).to be_nil end - it "returns a AreaType associated to the code" do + it "returns an AreaType associated to the code" do expect(Chouette::AreaType.find('zdep').code).to eq :zdep end end |
