Skip to content

Instantly share code, notes, and snippets.

@agmcleod
Created February 23, 2012 15:19
Show Gist options
  • Save agmcleod/1893273 to your computer and use it in GitHub Desktop.
Save agmcleod/1893273 to your computer and use it in GitHub Desktop.
ruby 1.9.3-p125 and 1.9.2-p290 tests
aaronmcleod@MacBook-Pro $ rvm ruby-1.9.2-p290
aaronmcleod@MacBook-Pro $ bundle exec rspec spec
................................................*......
Pending:
CopyProcess::Processor#compile_files_to_element_types
# No reason given
# ./spec/copyprocess/processor_spec.rb:222
Finished in 1.55 seconds
55 examples, 0 failures, 1 pending
aaronmcleod@MacBook-Pro $ rvm ruby-1.9.3-p125
aaronmcleod@MacBook-Pro $ bundle exec rspec spec
................................FF.FFFFFFFFFFFFF*FFF...
Pending:
CopyProcess::Processor#compile_files_to_element_types
# No reason given
# ./spec/copyprocess/processor_spec.rb:222
Failures:
1) CopyProcess::Processor#parse_each_document requires an example file should return an array with the size of one
Failure/Error: let(:processor) { Processor.new(output, input) }
ArgumentError:
wrong number of arguments(2 for 0)
# ./spec/copyprocess/processor_spec.rb:7:in `initialize'
# ./spec/copyprocess/processor_spec.rb:7:in `new'
# ./spec/copyprocess/processor_spec.rb:7:in `block (2 levels) in <module:CopyProcess>'
# ./spec/copyprocess/processor_spec.rb:85:in `block (4 levels) in <module:CopyProcess>'
2) CopyProcess::Processor#parse_each_document requires an example file should return a object of type CopyFile
Failure/Error: let(:processor) { Processor.new(output, input) }
ArgumentError:
wrong number of arguments(2 for 0)
# ./spec/copyprocess/processor_spec.rb:7:in `initialize'
# ./spec/copyprocess/processor_spec.rb:7:in `new'
# ./spec/copyprocess/processor_spec.rb:7:in `block (2 levels) in <module:CopyProcess>'
# ./spec/copyprocess/processor_spec.rb:89:in `block (4 levels) in <module:CopyProcess>'
3) CopyProcess::Processor#append_file_if_valid should return an array of one size
Failure/Error: let(:processor) { Processor.new(output, input) }
ArgumentError:
wrong number of arguments(2 for 0)
# ./spec/copyprocess/processor_spec.rb:7:in `initialize'
# ./spec/copyprocess/processor_spec.rb:7:in `new'
# ./spec/copyprocess/processor_spec.rb:7:in `block (2 levels) in <module:CopyProcess>'
# ./spec/copyprocess/processor_spec.rb:100:in `block (3 levels) in <module:CopyProcess>'
4) CopyProcess::Processor#add_missing_elements should return an empty array
Failure/Error: let(:processor) { Processor.new(output, input) }
ArgumentError:
wrong number of arguments(2 for 0)
# ./spec/copyprocess/processor_spec.rb:7:in `initialize'
# ./spec/copyprocess/processor_spec.rb:7:in `new'
# ./spec/copyprocess/processor_spec.rb:7:in `block (2 levels) in <module:CopyProcess>'
# ./spec/copyprocess/processor_spec.rb:112:in `block (3 levels) in <module:CopyProcess>'
5) CopyProcess::Processor#add_missing_elements should return an array of 1
Failure/Error: let(:processor) { Processor.new(output, input) }
ArgumentError:
wrong number of arguments(2 for 0)
# ./spec/copyprocess/processor_spec.rb:7:in `initialize'
# ./spec/copyprocess/processor_spec.rb:7:in `new'
# ./spec/copyprocess/processor_spec.rb:7:in `block (2 levels) in <module:CopyProcess>'
# ./spec/copyprocess/processor_spec.rb:121:in `block (3 levels) in <module:CopyProcess>'
6) CopyProcess::Processor#add_missing_elements should return a string containing city,<!-- empty -->,empty for restrictions
Failure/Error: let(:processor) { Processor.new(output, input) }
ArgumentError:
wrong number of arguments(2 for 0)
# ./spec/copyprocess/processor_spec.rb:7:in `initialize'
# ./spec/copyprocess/processor_spec.rb:7:in `new'
# ./spec/copyprocess/processor_spec.rb:7:in `block (2 levels) in <module:CopyProcess>'
# ./spec/copyprocess/processor_spec.rb:130:in `block (3 levels) in <module:CopyProcess>'
7) CopyProcess::Processor#add_missing_elements missing 2 from same type should return 1 string (not 2) for missing two types from national
Failure/Error: let(:processor) { Processor.new(output, input) }
ArgumentError:
wrong number of arguments(2 for 0)
# ./spec/copyprocess/processor_spec.rb:7:in `initialize'
# ./spec/copyprocess/processor_spec.rb:7:in `new'
# ./spec/copyprocess/processor_spec.rb:7:in `block (2 levels) in <module:CopyProcess>'
# ./spec/copyprocess/processor_spec.rb:140:in `block (4 levels) in <module:CopyProcess>'
8) CopyProcess::Processor#add_missing_elements missing 2 from same type should return a string containing national,<!-- empty -->,empty for restrictions
Failure/Error: let(:processor) { Processor.new(output, input) }
ArgumentError:
wrong number of arguments(2 for 0)
# ./spec/copyprocess/processor_spec.rb:7:in `initialize'
# ./spec/copyprocess/processor_spec.rb:7:in `new'
# ./spec/copyprocess/processor_spec.rb:7:in `block (2 levels) in <module:CopyProcess>'
# ./spec/copyprocess/processor_spec.rb:144:in `block (4 levels) in <module:CopyProcess>'
9) CopyProcess::Processor#contains_valid_headers should return false if empty
Failure/Error: let(:processor) { Processor.new(output, input) }
ArgumentError:
wrong number of arguments(2 for 0)
# ./spec/copyprocess/processor_spec.rb:7:in `initialize'
# ./spec/copyprocess/processor_spec.rb:7:in `new'
# ./spec/copyprocess/processor_spec.rb:7:in `block (2 levels) in <module:CopyProcess>'
# ./spec/copyprocess/processor_spec.rb:153:in `block (3 levels) in <module:CopyProcess>'
10) CopyProcess::Processor#contains_valid_headers Contains header names on one line but no values should return false
Failure/Error: let(:processor) { Processor.new(output, input) }
ArgumentError:
wrong number of arguments(2 for 0)
# ./spec/copyprocess/processor_spec.rb:7:in `initialize'
# ./spec/copyprocess/processor_spec.rb:7:in `new'
# ./spec/copyprocess/processor_spec.rb:7:in `block (2 levels) in <module:CopyProcess>'
# ./spec/copyprocess/processor_spec.rb:157:in `block (4 levels) in <module:CopyProcess>'
11) CopyProcess::Processor#contains_valid_headers Contains valid header names & format, no values should return false
Failure/Error: let(:processor) { Processor.new(output, input) }
ArgumentError:
wrong number of arguments(2 for 0)
# ./spec/copyprocess/processor_spec.rb:7:in `initialize'
# ./spec/copyprocess/processor_spec.rb:7:in `new'
# ./spec/copyprocess/processor_spec.rb:7:in `block (2 levels) in <module:CopyProcess>'
# ./spec/copyprocess/processor_spec.rb:162:in `block (4 levels) in <module:CopyProcess>'
12) CopyProcess::Processor#contains_valid_headers Contains valid header names, format and values should return true
Failure/Error: let(:processor) { Processor.new(output, input) }
ArgumentError:
wrong number of arguments(2 for 0)
# ./spec/copyprocess/processor_spec.rb:7:in `initialize'
# ./spec/copyprocess/processor_spec.rb:7:in `new'
# ./spec/copyprocess/processor_spec.rb:7:in `block (2 levels) in <module:CopyProcess>'
# ./spec/copyprocess/processor_spec.rb:168:in `block (4 levels) in <module:CopyProcess>'
13) CopyProcess::Processor#retrieve_content_rows should return 36 rows/sentences. 35 regular, 1 empty
Failure/Error: let(:processor) { Processor.new(output, input) }
ArgumentError:
wrong number of arguments(2 for 0)
# ./spec/copyprocess/processor_spec.rb:7:in `initialize'
# ./spec/copyprocess/processor_spec.rb:7:in `new'
# ./spec/copyprocess/processor_spec.rb:7:in `block (2 levels) in <module:CopyProcess>'
# ./spec/copyprocess/processor_spec.rb:193:in `block (4 levels) in <module:CopyProcess>'
# ./spec/copyprocess/processor_spec.rb:184:in `each'
# ./spec/copyprocess/processor_spec.rb:184:in `block (3 levels) in <module:CopyProcess>'
14) CopyProcess::Processor#retrieve_content_rows should return 2 rows
Failure/Error: let(:processor) { Processor.new(output, input) }
ArgumentError:
wrong number of arguments(2 for 0)
# ./spec/copyprocess/processor_spec.rb:7:in `initialize'
# ./spec/copyprocess/processor_spec.rb:7:in `new'
# ./spec/copyprocess/processor_spec.rb:7:in `block (2 levels) in <module:CopyProcess>'
# ./spec/copyprocess/processor_spec.rb:193:in `block (4 levels) in <module:CopyProcess>'
# ./spec/copyprocess/processor_spec.rb:184:in `each'
# ./spec/copyprocess/processor_spec.rb:184:in `block (3 levels) in <module:CopyProcess>'
15) CopyProcess::Processor#retrieve_content_rows should not contain ?*
Failure/Error: let(:processor) { Processor.new(output, input) }
ArgumentError:
wrong number of arguments(2 for 0)
# ./spec/copyprocess/processor_spec.rb:7:in `initialize'
# ./spec/copyprocess/processor_spec.rb:7:in `new'
# ./spec/copyprocess/processor_spec.rb:7:in `block (2 levels) in <module:CopyProcess>'
# ./spec/copyprocess/processor_spec.rb:193:in `block (4 levels) in <module:CopyProcess>'
# ./spec/copyprocess/processor_spec.rb:184:in `each'
# ./spec/copyprocess/processor_spec.rb:184:in `block (3 levels) in <module:CopyProcess>'
16) CopyProcess::Processor#compile_files_to_csv should return a non empty string
Failure/Error: let(:processor) { Processor.new(output, input) }
ArgumentError:
wrong number of arguments(2 for 0)
# ./spec/copyprocess/processor_spec.rb:7:in `initialize'
# ./spec/copyprocess/processor_spec.rb:7:in `new'
# ./spec/copyprocess/processor_spec.rb:7:in `block (2 levels) in <module:CopyProcess>'
# ./spec/copyprocess/processor_spec.rb:248:in `block (3 levels) in <module:CopyProcess>'
17) CopyProcess::Processor#compile_files_to_csv should return proper csv headers
Failure/Error: let(:processor) { Processor.new(output, input) }
ArgumentError:
wrong number of arguments(2 for 0)
# ./spec/copyprocess/processor_spec.rb:7:in `initialize'
# ./spec/copyprocess/processor_spec.rb:7:in `new'
# ./spec/copyprocess/processor_spec.rb:7:in `block (2 levels) in <module:CopyProcess>'
# ./spec/copyprocess/processor_spec.rb:253:in `block (3 levels) in <module:CopyProcess>'
18) CopyProcess::Processor#compile_files_to_csv should return a string of 37 lines - 3 content, 1 header row
Failure/Error: let(:processor) { Processor.new(output, input) }
ArgumentError:
wrong number of arguments(2 for 0)
# ./spec/copyprocess/processor_spec.rb:7:in `initialize'
# ./spec/copyprocess/processor_spec.rb:7:in `new'
# ./spec/copyprocess/processor_spec.rb:7:in `block (2 levels) in <module:CopyProcess>'
# ./spec/copyprocess/processor_spec.rb:258:in `block (3 levels) in <module:CopyProcess>'
Finished in 1.07 seconds
55 examples, 18 failures, 1 pending
Failed examples:
rspec ./spec/copyprocess/processor_spec.rb:84 # CopyProcess::Processor#parse_each_document requires an example file should return an array with the size of one
rspec ./spec/copyprocess/processor_spec.rb:88 # CopyProcess::Processor#parse_each_document requires an example file should return a object of type CopyFile
rspec ./spec/copyprocess/processor_spec.rb:99 # CopyProcess::Processor#append_file_if_valid should return an array of one size
rspec ./spec/copyprocess/processor_spec.rb:106 # CopyProcess::Processor#add_missing_elements should return an empty array
rspec ./spec/copyprocess/processor_spec.rb:115 # CopyProcess::Processor#add_missing_elements should return an array of 1
rspec ./spec/copyprocess/processor_spec.rb:124 # CopyProcess::Processor#add_missing_elements should return a string containing city,<!-- empty -->,empty for restrictions
rspec ./spec/copyprocess/processor_spec.rb:139 # CopyProcess::Processor#add_missing_elements missing 2 from same type should return 1 string (not 2) for missing two types from national
rspec ./spec/copyprocess/processor_spec.rb:143 # CopyProcess::Processor#add_missing_elements missing 2 from same type should return a string containing national,<!-- empty -->,empty for restrictions
rspec ./spec/copyprocess/processor_spec.rb:152 # CopyProcess::Processor#contains_valid_headers should return false if empty
rspec ./spec/copyprocess/processor_spec.rb:156 # CopyProcess::Processor#contains_valid_headers Contains header names on one line but no values should return false
rspec ./spec/copyprocess/processor_spec.rb:161 # CopyProcess::Processor#contains_valid_headers Contains valid header names & format, no values should return false
rspec ./spec/copyprocess/processor_spec.rb:167 # CopyProcess::Processor#contains_valid_headers Contains valid header names, format and values should return true
rspec ./spec/copyprocess/processor_spec.rb:197 # CopyProcess::Processor#retrieve_content_rows should return 36 rows/sentences. 35 regular, 1 empty
rspec ./spec/copyprocess/processor_spec.rb:202 # CopyProcess::Processor#retrieve_content_rows should return 2 rows
rspec ./spec/copyprocess/processor_spec.rb:208 # CopyProcess::Processor#retrieve_content_rows should not contain ?*
rspec ./spec/copyprocess/processor_spec.rb:246 # CopyProcess::Processor#compile_files_to_csv should return a non empty string
rspec ./spec/copyprocess/processor_spec.rb:251 # CopyProcess::Processor#compile_files_to_csv should return proper csv headers
rspec ./spec/copyprocess/processor_spec.rb:256 # CopyProcess::Processor#compile_files_to_csv should return a string of 37 lines - 3 content, 1 header row
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment