Skip to content

Instantly share code, notes, and snippets.

@Imomoi
Created November 9, 2012 11:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Imomoi/4045213 to your computer and use it in GitHub Desktop.
Save Imomoi/4045213 to your computer and use it in GitHub Desktop.
логи тестов
Pending:
IdentityCard add some examples to (or delete) /home/vmolokov/Projects/pathfinder-emulator/spec/models/identity_card_spec.rb
# No reason given
# ./spec/models/identity_card_spec.rb:4
Address add some examples to (or delete) /home/vmolokov/Projects/pathfinder-emulator/spec/models/address_spec.rb
# No reason given
# ./spec/models/address_spec.rb:4
DrivingLicence add some examples to (or delete) /home/vmolokov/Projects/pathfinder-emulator/spec/models/driving_licence_spec.rb
# No reason given
# ./spec/models/driving_licence_spec.rb:4
Failures:
1) PersonsController test for few page should return one unique persons should return persons
Failure/Error: passport = RussianPassport.new(first_name: "Иван#{i}",
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: first_name, last_name, middle_name, birth_date
# ./app/models/russian_passport.rb:8:in `initialize'
# ./spec/controllers/person/index_spec.rb:108:in `new'
# ./spec/controllers/person/index_spec.rb:108:in `block (4 levels) in <top (required)>'
# ./spec/controllers/person/index_spec.rb:103:in `times'
# ./spec/controllers/person/index_spec.rb:103:in `block (3 levels) in <top (required)>'
2) PersonsController test for few page should return one unique persons should have page info
Failure/Error: passport = RussianPassport.new(first_name: "Иван#{i}",
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: first_name, last_name, middle_name, birth_date
# ./app/models/russian_passport.rb:8:in `initialize'
# ./spec/controllers/person/index_spec.rb:108:in `new'
# ./spec/controllers/person/index_spec.rb:108:in `block (4 levels) in <top (required)>'
# ./spec/controllers/person/index_spec.rb:103:in `times'
# ./spec/controllers/person/index_spec.rb:103:in `block (3 levels) in <top (required)>'
3) identity_cards/index.xml.erb russian_passport
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
4) identity_cards/index.xml.erb russian_passport
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
5) identity_cards/index.xml.erb russian_passport
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
6) identity_cards/index.xml.erb russian_passport
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
7) identity_cards/index.xml.erb russian_passport
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
8) identity_cards/index.xml.erb russian_passport
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
9) identity_cards/index.xml.erb russian_passport
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
10) identity_cards/index.xml.erb russian_passport
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
11) identity_cards/index.xml.erb russian_passport should be rendered
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
12) identity_cards/index.xml.erb russian_passport
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
13) identity_cards/index.xml.erb russian_passport
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
14) identity_cards/index.xml.erb russian_passport
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
15) identity_cards/index.xml.erb russian_passport
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
16) identity_cards/index.xml.erb russian_passport
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
17) identity_cards/index.xml.erb russian_passport
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
18) identity_cards/index.xml.erb russian_passport test address 1
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
19) identity_cards/index.xml.erb russian_passport test address 1
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
20) identity_cards/index.xml.erb russian_passport test address 1
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
21) identity_cards/index.xml.erb russian_passport test address 1
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
22) identity_cards/index.xml.erb russian_passport test address 1
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
23) identity_cards/index.xml.erb russian_passport test address 1
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
24) identity_cards/index.xml.erb russian_passport test address 1
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
25) identity_cards/index.xml.erb russian_passport test address 1
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
26) identity_cards/index.xml.erb russian_passport test address 1
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
27) identity_cards/index.xml.erb russian_passport test adderss 2
Failure/Error: rp.build_identity_card(person: @person,
ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: reason_id, state_id
# ./spec/views/identity_cards/index.xml.erb_spec.rb:25:in `block (3 levels) in <top (required)>'
28) identity_cards/index.xml.erb international_passport
Failure/Error: fp = FactoryGirl.create(:international_passport, birth_place_code: @moscow_place_code)
NoMethodError:
undefined method `birth_place_code=' for #<InternationalPassport:0x00000005cffaa8>
# ./app/models/international_passport.rb:19:in `method_missing'
# ./spec/views/identity_cards/index.xml.erb_spec.rb:98:in `block (3 levels) in <top (required)>'
29) identity_cards/index.xml.erb international_passport
Failure/Error: fp = FactoryGirl.create(:international_passport, birth_place_code: @moscow_place_code)
NoMethodError:
undefined method `birth_place_code=' for #<InternationalPassport:0x00000005d29718>
# ./app/models/international_passport.rb:19:in `method_missing'
# ./spec/views/identity_cards/index.xml.erb_spec.rb:98:in `block (3 levels) in <top (required)>'
30) identity_cards/index.xml.erb international_passport
Failure/Error: fp = FactoryGirl.create(:international_passport, birth_place_code: @moscow_place_code)
NoMethodError:
undefined method `birth_place_code=' for #<InternationalPassport:0x00000005b1f7b0>
# ./app/models/international_passport.rb:19:in `method_missing'
# ./spec/views/identity_cards/index.xml.erb_spec.rb:98:in `block (3 levels) in <top (required)>'
31) identity_cards/index.xml.erb international_passport
Failure/Error: fp = FactoryGirl.create(:international_passport, birth_place_code: @moscow_place_code)
NoMethodError:
undefined method `birth_place_code=' for #<InternationalPassport:0x00000005b5a5b8>
# ./app/models/international_passport.rb:19:in `method_missing'
# ./spec/views/identity_cards/index.xml.erb_spec.rb:98:in `block (3 levels) in <top (required)>'
32) identity_cards/index.xml.erb international_passport
Failure/Error: fp = FactoryGirl.create(:international_passport, birth_place_code: @moscow_place_code)
NoMethodError:
undefined method `birth_place_code=' for #<InternationalPassport:0x00000005e66590>
# ./app/models/international_passport.rb:19:in `method_missing'
# ./spec/views/identity_cards/index.xml.erb_spec.rb:98:in `block (3 levels) in <top (required)>'
33) identity_cards/index.xml.erb international_passport
Failure/Error: fp = FactoryGirl.create(:international_passport, birth_place_code: @moscow_place_code)
NoMethodError:
undefined method `birth_place_code=' for #<InternationalPassport:0x00000005e99fd0>
# ./app/models/international_passport.rb:19:in `method_missing'
# ./spec/views/identity_cards/index.xml.erb_spec.rb:98:in `block (3 levels) in <top (required)>'
34) identity_cards/index.xml.erb international_passport
Failure/Error: fp = FactoryGirl.create(:international_passport, birth_place_code: @moscow_place_code)
NoMethodError:
undefined method `birth_place_code=' for #<InternationalPassport:0x00000005ecbbc0>
# ./app/models/international_passport.rb:19:in `method_missing'
# ./spec/views/identity_cards/index.xml.erb_spec.rb:98:in `block (3 levels) in <top (required)>'
35) identity_cards/index.xml.erb international_passport should be rendered
Failure/Error: fp = FactoryGirl.create(:international_passport, birth_place_code: @moscow_place_code)
NoMethodError:
undefined method `birth_place_code=' for #<InternationalPassport:0x00000005f04fb0>
# ./app/models/international_passport.rb:19:in `method_missing'
# ./spec/views/identity_cards/index.xml.erb_spec.rb:98:in `block (3 levels) in <top (required)>'
36) identity_cards/index.xml.erb international_passport
Failure/Error: fp = FactoryGirl.create(:international_passport, birth_place_code: @moscow_place_code)
NoMethodError:
undefined method `birth_place_code=' for #<InternationalPassport:0x00000005f2e388>
# ./app/models/international_passport.rb:19:in `method_missing'
# ./spec/views/identity_cards/index.xml.erb_spec.rb:98:in `block (3 levels) in <top (required)>'
37) identity_cards/index.xml.erb international_passport
Failure/Error: fp = FactoryGirl.create(:international_passport, birth_place_code: @moscow_place_code)
NoMethodError:
undefined method `birth_place_code=' for #<InternationalPassport:0x00000006090230>
# ./app/models/international_passport.rb:19:in `method_missing'
# ./spec/views/identity_cards/index.xml.erb_spec.rb:98:in `block (3 levels) in <top (required)>'
38) identity_cards/index.xml.erb international_passport
Failure/Error: fp = FactoryGirl.create(:international_passport, birth_place_code: @moscow_place_code)
NoMethodError:
undefined method `birth_place_code=' for #<InternationalPassport:0x000000060c0e08>
# ./app/models/international_passport.rb:19:in `method_missing'
# ./spec/views/identity_cards/index.xml.erb_spec.rb:98:in `block (3 levels) in <top (required)>'
39) identity_cards/index.xml.erb international_passport
Failure/Error: fp = FactoryGirl.create(:international_passport, birth_place_code: @moscow_place_code)
NoMethodError:
undefined method `birth_place_code=' for #<InternationalPassport:0x000000060f6850>
# ./app/models/international_passport.rb:19:in `method_missing'
# ./spec/views/identity_cards/index.xml.erb_spec.rb:98:in `block (3 levels) in <top (required)>'
40) identity_cards/index.xml.erb international_passport
Failure/Error: fp = FactoryGirl.create(:international_passport, birth_place_code: @moscow_place_code)
NoMethodError:
undefined method `birth_place_code=' for #<InternationalPassport:0x00000005ff87f0>
# ./app/models/international_passport.rb:19:in `method_missing'
# ./spec/views/identity_cards/index.xml.erb_spec.rb:98:in `block (3 levels) in <top (required)>'
41) identity_cards/index.xml.erb international_passport
Failure/Error: fp = FactoryGirl.create(:international_passport, birth_place_code: @moscow_place_code)
NoMethodError:
undefined method `birth_place_code=' for #<InternationalPassport:0x00000006025d18>
# ./app/models/international_passport.rb:19:in `method_missing'
# ./spec/views/identity_cards/index.xml.erb_spec.rb:98:in `block (3 levels) in <top (required)>'
42) identity_cards/index.xml.erb international_passport
Failure/Error: fp = FactoryGirl.create(:international_passport, birth_place_code: @moscow_place_code)
NoMethodError:
undefined method `birth_place_code=' for #<InternationalPassport:0x00000006052818>
# ./app/models/international_passport.rb:19:in `method_missing'
# ./spec/views/identity_cards/index.xml.erb_spec.rb:98:in `block (3 levels) in <top (required)>'
43) identity_cards/index.xml.erb international_passport
Failure/Error: fp = FactoryGirl.create(:international_passport, birth_place_code: @moscow_place_code)
NoMethodError:
undefined method `birth_place_code=' for #<InternationalPassport:0x000000061215c8>
# ./app/models/international_passport.rb:19:in `method_missing'
# ./spec/views/identity_cards/index.xml.erb_spec.rb:98:in `block (3 levels) in <top (required)>'
Finished in 2.99 seconds
120 examples, 43 failures, 3 pending
Failed examples:
rspec ./spec/controllers/person/index_spec.rb:125 # PersonsController test for few page should return one unique persons should return persons
rspec ./spec/controllers/person/index_spec.rb:129 # PersonsController test for few page should return one unique persons should have page info
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:52 # identity_cards/index.xml.erb russian_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:57 # identity_cards/index.xml.erb russian_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:66 # identity_cards/index.xml.erb russian_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:58 # identity_cards/index.xml.erb russian_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:65 # identity_cards/index.xml.erb russian_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:67 # identity_cards/index.xml.erb russian_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:54 # identity_cards/index.xml.erb russian_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:62 # identity_cards/index.xml.erb russian_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:48 # identity_cards/index.xml.erb russian_passport should be rendered
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:59 # identity_cards/index.xml.erb russian_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:53 # identity_cards/index.xml.erb russian_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:55 # identity_cards/index.xml.erb russian_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:60 # identity_cards/index.xml.erb russian_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:63 # identity_cards/index.xml.erb russian_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:64 # identity_cards/index.xml.erb russian_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:73 # identity_cards/index.xml.erb russian_passport test address 1
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:75 # identity_cards/index.xml.erb russian_passport test address 1
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:79 # identity_cards/index.xml.erb russian_passport test address 1
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:80 # identity_cards/index.xml.erb russian_passport test address 1
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:76 # identity_cards/index.xml.erb russian_passport test address 1
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:74 # identity_cards/index.xml.erb russian_passport test address 1
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:78 # identity_cards/index.xml.erb russian_passport test address 1
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:72 # identity_cards/index.xml.erb russian_passport test address 1
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:77 # identity_cards/index.xml.erb russian_passport test address 1
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:86 # identity_cards/index.xml.erb russian_passport test adderss 2
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:146 # identity_cards/index.xml.erb international_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:150 # identity_cards/index.xml.erb international_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:159 # identity_cards/index.xml.erb international_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:162 # identity_cards/index.xml.erb international_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:152 # identity_cards/index.xml.erb international_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:148 # identity_cards/index.xml.erb international_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:155 # identity_cards/index.xml.erb international_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:140 # identity_cards/index.xml.erb international_passport should be rendered
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:153 # identity_cards/index.xml.erb international_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:147 # identity_cards/index.xml.erb international_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:149 # identity_cards/index.xml.erb international_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:156 # identity_cards/index.xml.erb international_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:154 # identity_cards/index.xml.erb international_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:158 # identity_cards/index.xml.erb international_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:161 # identity_cards/index.xml.erb international_passport
rspec ./spec/views/identity_cards/index.xml.erb_spec.rb:163 # identity_cards/index.xml.erb international_passport
Randomized with seed 46813
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment