aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert2017-04-21 09:56:46 +0200
committerRobert2017-04-21 09:56:46 +0200
commite4ff5bc7d0d044e3beb4a1b771177ae33877182f (patch)
tree5161f9ef31bff2a68e4e5a6345972f548d261171
parent915e7209cb85ea41e76da6a1f026963fabc5eba0 (diff)
downloadchouette-core-e4ff5bc7d0d044e3beb4a1b771177ae33877182f.tar.bz2
gml pos parsing problem dissappeared; Refs: #3106
-rw-r--r--spec/models/chouette/routing_constraint_zone_spec.rb2
-rw-r--r--spec/tasks/reflex_rake_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/chouette/routing_constraint_zone_spec.rb b/spec/models/chouette/routing_constraint_zone_spec.rb
index 0f34db5f9..87ee9e9ac 100644
--- a/spec/models/chouette/routing_constraint_zone_spec.rb
+++ b/spec/models/chouette/routing_constraint_zone_spec.rb
@@ -13,7 +13,7 @@ describe Chouette::RoutingConstraintZone, type: :model do
it 'validates the presence of route_id' do
expect {
routing_constraint_zone.update!(route_id: nil)
- }.to raise_error
+ }.to raise_error(NoMethodError)
end
it 'validates the presence of stop_point_ids' do
diff --git a/spec/tasks/reflex_rake_spec.rb b/spec/tasks/reflex_rake_spec.rb
index 49874231e..04c5886aa 100644
--- a/spec/tasks/reflex_rake_spec.rb
+++ b/spec/tasks/reflex_rake_spec.rb
@@ -1,7 +1,7 @@
require 'spec_helper'
describe 'reflex:sync' do
- pending 'On first sync' do
+ context 'On first sync' do
before(:each) do
['getOP', 'getOR'].each do |method|
stub_request(:get, "#{Rails.application.config.reflex_api_url}/?format=xml&idRefa=0&method=#{method}").