aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/gtfs_import_spec.rb
blob: bf9a353ebddb2795d7416210c929f9a69640ba60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
require 'spec_helper'

describe Import::Gtfs, :type => :model do

 # describe "#object_id_prefix" do

 #   it "should be included in import_options" do
 #     subject.object_id_prefix = "dummy"
 #     expect(subject.parameter_set["object_id_prefix"]).to  eq("dummy")
 #   end

 # end

 # describe "#max_distance_for_commercial" do

 #   it "should be included in import_options" do
 #     subject.max_distance_for_commercial = 300
 #     expect(subject.parameter_set["max_distance_for_commercial"]).to eq(300)
 #   end

 # end

 # describe "#ignore_last_word" do

 #   it "should be included in import_options" do
 #     subject.ignore_last_word = true
 #     expect(subject.parameter_set["ignore_last_word"]).to eq(true)
 #   end

 # end

 # describe "#ignore_end_chars" do

 #   it "should be included in import_options" do
 #     subject.ignore_end_chars = 2
 #     expect(subject.parameter_set["ignore_end_chars"]).to eq(2)
 #   end

 # end

end