diff options
| author | Robert | 2017-09-12 09:10:02 +0200 |
|---|---|---|
| committer | Robert | 2017-09-12 09:10:02 +0200 |
| commit | 9810dd389cff0bd5dbda26e46806f62d28410ff4 (patch) | |
| tree | 2fd091093640e10e58a65ef039d1df72afdac9f6 /spec | |
| parent | 37865fad65adacae41bff0677651ca0a4d9db974 (diff) | |
| download | chouette-core-9810dd389cff0bd5dbda26e46806f62d28410ff4.tar.bz2 | |
Refs: #4189@2h; Fixing logical merging issues, preparing PR
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/models/chouette/stop_point_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/chouette/stop_point_spec.rb b/spec/models/chouette/stop_point_spec.rb index 1be000b56..329e76a75 100644 --- a/spec/models/chouette/stop_point_spec.rb +++ b/spec/models/chouette/stop_point_spec.rb @@ -41,7 +41,7 @@ describe StopPoint, :type => :model do end describe '#duplicate' do - let!( :new_route ){ create :route, objectid: 'newroute:Route:1' } + let!( :new_route ){ create :route } it 'creates a new instance' do expect{ subject.duplicate(for_route: new_route) }.to change{ StopPoint.count }.by(1) |
