diff options
| author | cedricnjanga | 2018-04-04 14:55:25 -0700 |
|---|---|---|
| committer | GitHub | 2018-04-04 14:55:25 -0700 |
| commit | c327d2ec90851bfe1f81c072ef328bd68ea55f38 (patch) | |
| tree | 89a52107e5fe4bef33fa273fc32240dcc9901986 /spec/models | |
| parent | f04d4420053dc995bad52b5b87ff7f15e302c2b3 (diff) | |
| parent | 461e1b085e745e819e95649bf3509ca6055ce827 (diff) | |
| download | chouette-core-6370-translations-2.tar.bz2 | |
Merge branch 'master' into 6370-translations-26370-translations-2
Diffstat (limited to 'spec/models')
| -rw-r--r-- | spec/models/chouette/route/route_duplication_spec.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/models/chouette/route/route_duplication_spec.rb b/spec/models/chouette/route/route_duplication_spec.rb index 8b3a948a2..47233b04e 100644 --- a/spec/models/chouette/route/route_duplication_spec.rb +++ b/spec/models/chouette/route/route_duplication_spec.rb @@ -8,9 +8,6 @@ RSpec.describe Chouette::Route do route.duplicate expect( values_for_create(Chouette::Route.last, except: %w{objectid name checksum checksum_source}) ).to eq( values_for_create( route, except: %w{objectid name checksum checksum_source} ) ) end - it 'and others cannot' do - expect{ route.duplicate name: 'YAN', line_id: 42 }.to raise_error(ArgumentError) - end it 'same associated stop_areeas' do expect( route.duplicate.stop_areas.pluck(:id) ).to eq(route.stop_areas.pluck(:id)) end |
