Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Pending:
- Jasmine specs not fails
- # Temporarily skipped with xit
- # ./spec/models/jasmine_spec.rb:5
- Failures:
- 1) SourceCredentialsController put update create record if was not defined
- Failure/Error: expect{put :update, id: source, flds: flds, source_credential: new}.to_not raise_error
- expected no Exception, got #<Errno::ENOENT: No such file or directory @ rb_sysopen - shared/credentials_public.pem> with backtrace:
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./app/controllers/source_credentials_controller.rb:20:in `update'
- # ./spec/controllers/source_credentials_controller_spec.rb:52:in `block (4 levels) in <top (required)>'
- # ./spec/controllers/source_credentials_controller_spec.rb:52:in `block (3 levels) in <top (required)>'
- # ./spec/controllers/source_credentials_controller_spec.rb:52:in `block (3 levels) in <top (required)>'
- 2) SourceCredentialsController put update reset wrong flag
- Failure/Error: expect{put :update, id: source, flds: flds, source_credential: new}.to_not raise_error
- expected no Exception, got #<Errno::ENOENT: No such file or directory @ rb_sysopen - shared/credentials_public.pem> with backtrace:
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./app/controllers/source_credentials_controller.rb:20:in `update'
- # ./spec/controllers/source_credentials_controller_spec.rb:93:in `block (4 levels) in <top (required)>'
- # ./spec/controllers/source_credentials_controller_spec.rb:93:in `block (3 levels) in <top (required)>'
- # ./spec/controllers/source_credentials_controller_spec.rb:93:in `block (3 levels) in <top (required)>'
- 3) SourceCredentialsController put update do not reset password if not specified
- Failure/Error: sc = user.source_credentials.create(source: source, user: user, login: '123', password: '321', cpm_factor: 99)
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./spec/controllers/source_credentials_controller_spec.rb:64:in `block (3 levels) in <top (required)>'
- 4) SourceCredentialsController put update updated if was defined
- Failure/Error: user.source_credentials.create(source: source, user: user, login: '123', password: '321', cpm_factor: 99)
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./spec/controllers/source_credentials_controller_spec.rb:78:in `block (3 levels) in <top (required)>'
- 5) SourceCredentialsController destroy destroys source credential
- Failure/Error: user.source_credentials.create(source: source, user: user, login: '123', password: '321', cpm_factor: 99)
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./spec/controllers/source_credentials_controller_spec.rb:113:in `block (3 levels) in <top (required)>'
- 6) SourceCredentialsController destroy resets wrong credentials for deleted source
- Failure/Error: user.source_credentials.create(source: source, user: user, login: '123', password: '321', cpm_factor: 99)
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./spec/controllers/source_credentials_controller_spec.rb:113:in `block (3 levels) in <top (required)>'
- 7) SourceCredentialsController destroy redirects to source credentials index
- Failure/Error: user.source_credentials.create(source: source, user: user, login: '123', password: '321', cpm_factor: 99)
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./spec/controllers/source_credentials_controller_spec.rb:113:in `block (3 levels) in <top (required)>'
- 8) SourceCredentialsController destroy raise 404 if no such credential
- Failure/Error: user.source_credentials.create(source: source, user: user, login: '123', password: '321', cpm_factor: 99)
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./spec/controllers/source_credentials_controller_spec.rb:113:in `block (3 levels) in <top (required)>'
- 9) SourceCredential password encryption encrypt and decrypt works
- Failure/Error: enc = SourceCredential.encrypt(mes)
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./spec/models/source_credential_spec.rb:28:in `block (3 levels) in <top (required)>'
- 10) SourceCredential password encryption raise on decrypt if not private key present
- Failure/Error: sc.password = password
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./spec/models/source_credential_spec.rb:44:in `block (3 levels) in <top (required)>'
- 11) SourceCredential password encryption encrypt password
- Failure/Error: sc.password = password
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./spec/models/source_credential_spec.rb:34:in `block (3 levels) in <top (required)>'
- 12) SourceCredential password encryption decrypt password
- Failure/Error: sc.encrypted_password = SourceCredential.encrypt(password)
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./spec/models/source_credential_spec.rb:39:in `block (3 levels) in <top (required)>'
- 13) User geoedge call Geoedge
- Failure/Error: expect(u.reload.geoedge_last_checked_at).to eq(Time.zone.now)
- expected: 2016-06-30 10:11:02.380320899 +0000
- got: 2016-06-30 10:11:02.380320000 +0000
- (compared using ==)
- Diff:
- # ./spec/models/user_spec.rb:86:in `block (3 levels) in <top (required)>'
- 14) User with one user #sources_with_good_credentials works
- Failure/Error: create(:source_credential, user: user, source: good, 'login' => 'lll', 'password' => 'ppp')
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./spec/models/user_spec.rb:291:in `block (4 levels) in <top (required)>'
- 15) Message read and unread messaged notifying unread messages marks sent notifications read
- Failure/Error: expect{Message.notify_unread_for(user)}.to change{unread_message.reload.read_at}.from(nil).to(Time.zone.now)
- expected result to have changed to Thu, 30 Jun 2016 10:11:02 UTC +00:00, but is now Thu, 30 Jun 2016 10:11:02 UTC +00:00
- # ./spec/models/message_spec.rb:141:in `block (4 levels) in <top (required)>'
- 16) Message read and unread messaged notifying support team marks sent notifications read
- Failure/Error: expect{Message.notify_unread_for_support}.to change{unread_message.reload.read_at}.from(nil).to(Time.zone.now)
- expected result to have changed to Thu, 30 Jun 2016 10:11:02 UTC +00:00, but is now Thu, 30 Jun 2016 10:11:02 UTC +00:00
- # ./spec/models/message_spec.rb:186:in `block (4 levels) in <top (required)>'
- 17) Creature source checking checks #check_income!(date) with credentials get data with hits, clicks, cpm, ctr and save it even for existing records
- Failure/Error: let!(:credential){create(:source_credential, user: creature.campaign.user, source: creature.source, password: 'some')}
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./spec/models/creature_spec.rb:310:in `block (6 levels) in <top (required)>'
- 18) Creature source checking checks #check_income!(date) with credentials respect cpm_factor when convert incomes
- Failure/Error: let!(:credential){create(:source_credential, user: creature.campaign.user, source: creature.source, password: 'some')}
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./spec/models/creature_spec.rb:310:in `block (6 levels) in <top (required)>'
- 19) Creature source checking checks #check_income!(date) with credentials does not fail if there was an error fetching data
- Failure/Error: let!(:credential){create(:source_credential, user: creature.campaign.user, source: creature.source, password: 'some')}
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./spec/models/creature_spec.rb:310:in `block (6 levels) in <top (required)>'
- 20) Creature source checking checks #check_source! with credentials it does not save anything unless hash
- Failure/Error: let!(:credential){create(:source_credential, user: creature.campaign.user, source: creature.source, password: 'some')}
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./spec/models/creature_spec.rb:369:in `block (6 levels) in <top (required)>'
- 21) Creature source checking checks #check_source! with credentials parser return full stat reset warning if new data present
- Failure/Error: let!(:credential){create(:source_credential, user: creature.campaign.user, source: creature.source, password: 'some')}
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./spec/models/creature_spec.rb:369:in `block (6 levels) in <top (required)>'
- 22) Creature source checking checks #check_source! with credentials parser return full stat calculates diff cpm if told so
- Failure/Error: let!(:credential){create(:source_credential, user: creature.campaign.user, source: creature.source, password: 'some')}
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./spec/models/creature_spec.rb:369:in `block (6 levels) in <top (required)>'
- 23) Creature source checking checks #check_source! with credentials parser return full stat calculate real cpms and save them to creature and source check record (new way)
- Failure/Error: let!(:credential){create(:source_credential, user: creature.campaign.user, source: creature.source, password: 'some')}
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./spec/models/creature_spec.rb:369:in `block (6 levels) in <top (required)>'
- 24) Creature source checking checks #check_source! with credentials parser return full stat does not calculate diff_cpm if user has another cpm mode
- Failure/Error: let!(:credential){create(:source_credential, user: creature.campaign.user, source: creature.source, password: 'some')}
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./spec/models/creature_spec.rb:369:in `block (6 levels) in <top (required)>'
- 25) Creature source checking checks #check_source! with credentials parser return full stat calculate real2 cpms and save them to creature and source check record (new way)
- Failure/Error: let!(:credential){create(:source_credential, user: creature.campaign.user, source: creature.source, password: 'some')}
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./spec/models/creature_spec.rb:369:in `block (6 levels) in <top (required)>'
- 26) Creature source checking checks #check_source! with credentials parser return full stat users credentials has cpm_factor, so multiply cpms
- Failure/Error: let!(:credential){create(:source_credential, user: creature.campaign.user, source: creature.source, password: 'some')}
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./spec/models/creature_spec.rb:369:in `block (6 levels) in <top (required)>'
- 27) Creature source checking checks #check_source! with credentials parser return full stat if blank data do not touch source_checked_with_result_at
- Failure/Error: let!(:credential){create(:source_credential, user: creature.campaign.user, source: creature.source, password: 'some')}
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./spec/models/creature_spec.rb:369:in `block (6 levels) in <top (required)>'
- 28) Creature source checking checks #check_source! with credentials parser return full stat if blank data set warning
- Failure/Error: let!(:credential){create(:source_credential, user: creature.campaign.user, source: creature.source, password: 'some')}
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - shared/credentials_public.pem
- # ./app/models/source_credential.rb:24:in `read'
- # ./app/models/source_credential.rb:24:in `encrypt'
- # ./app/models/source_credential.rb:59:in `password='
- # ./spec/models/creature_spec.rb:369:in `block (6 levels) in <top (required)>'
- 29) Sources::Base request wrapper wrong credentials catching and send mail notifying user increases attempts count and logs attempt time
- Failure/Error: expect(last_attempt.created_at).to eq(Time.zone.now)
- expected: 2016-06-30 10:11:02.380320899 +0000
- got: 2016-06-30 10:11:02.380320000 +0000
- (compared using ==)
- Diff:
- # ./spec/models/sources/base_spec.rb:79:in `block (6 levels) in <top (required)>'
- # ./spec/models/sources/base_spec.rb:74:in `block (5 levels) in <top (required)>'
- 30) Sources::Base request wrapper wrong credentials catching and send mail skipping request is true if not enough time passed since last attempt
- Failure/Error: expect(parser.skip_request?).to be_truthy
- expected: truthy value
- got: false
- # ./spec/models/sources/base_spec.rb:134:in `block (6 levels) in <top (required)>'
- # ./spec/models/sources/base_spec.rb:129:in `block (5 levels) in <top (required)>'
- Finished in 12 minutes 56 seconds (files took 4.61 seconds to load)
- 1003 examples, 30 failures, 1 pending
- Failed examples:
- rspec ./spec/controllers/source_credentials_controller_spec.rb:51 # SourceCredentialsController put update create record if was not defined
- rspec ./spec/controllers/source_credentials_controller_spec.rb:90 # SourceCredentialsController put update reset wrong flag
- rspec ./spec/controllers/source_credentials_controller_spec.rb:63 # SourceCredentialsController put update do not reset password if not specified
- rspec ./spec/controllers/source_credentials_controller_spec.rb:77 # SourceCredentialsController put update updated if was defined
- rspec ./spec/controllers/source_credentials_controller_spec.rb:116 # SourceCredentialsController destroy destroys source credential
- rspec ./spec/controllers/source_credentials_controller_spec.rb:134 # SourceCredentialsController destroy resets wrong credentials for deleted source
- rspec ./spec/controllers/source_credentials_controller_spec.rb:122 # SourceCredentialsController destroy redirects to source credentials index
- rspec ./spec/controllers/source_credentials_controller_spec.rb:127 # SourceCredentialsController destroy raise 404 if no such credential
- rspec ./spec/models/source_credential_spec.rb:26 # SourceCredential password encryption encrypt and decrypt works
- rspec ./spec/models/source_credential_spec.rb:43 # SourceCredential password encryption raise on decrypt if not private key present
- rspec ./spec/models/source_credential_spec.rb:33 # SourceCredential password encryption encrypt password
- rspec ./spec/models/source_credential_spec.rb:38 # SourceCredential password encryption decrypt password
- rspec ./spec/models/user_spec.rb:82 # User geoedge call Geoedge
- rspec ./spec/models/user_spec.rb:285 # User with one user #sources_with_good_credentials works
- rspec ./spec/models/message_spec.rb:140 # Message read and unread messaged notifying unread messages marks sent notifications read
- rspec ./spec/models/message_spec.rb:185 # Message read and unread messaged notifying support team marks sent notifications read
- rspec ./spec/models/creature_spec.rb:312 # Creature source checking checks #check_income!(date) with credentials get data with hits, clicks, cpm, ctr and save it even for existing records
- rspec ./spec/models/creature_spec.rb:342 # Creature source checking checks #check_income!(date) with credentials respect cpm_factor when convert incomes
- rspec ./spec/models/creature_spec.rb:354 # Creature source checking checks #check_income!(date) with credentials does not fail if there was an error fetching data
- rspec ./spec/models/creature_spec.rb:497 # Creature source checking checks #check_source! with credentials it does not save anything unless hash
- rspec ./spec/models/creature_spec.rb:452 # Creature source checking checks #check_source! with credentials parser return full stat reset warning if new data present
- rspec ./spec/models/creature_spec.rb:383 # Creature source checking checks #check_source! with credentials parser return full stat calculates diff cpm if told so
- rspec ./spec/models/creature_spec.rb:401 # Creature source checking checks #check_source! with credentials parser return full stat calculate real cpms and save them to creature and source check record (new way)
- rspec ./spec/models/creature_spec.rb:396 # Creature source checking checks #check_source! with credentials parser return full stat does not calculate diff_cpm if user has another cpm mode
- rspec ./spec/models/creature_spec.rb:427 # Creature source checking checks #check_source! with credentials parser return full stat calculate real2 cpms and save them to creature and source check record (new way)
- rspec ./spec/models/creature_spec.rb:473 # Creature source checking checks #check_source! with credentials parser return full stat users credentials has cpm_factor, so multiply cpms
- rspec ./spec/models/creature_spec.rb:466 # Creature source checking checks #check_source! with credentials parser return full stat if blank data do not touch source_checked_with_result_at
- rspec ./spec/models/creature_spec.rb:461 # Creature source checking checks #check_source! with credentials parser return full stat if blank data set warning
- rspec ./spec/models/sources/base_spec.rb:73 # Sources::Base request wrapper wrong credentials catching and send mail notifying user increases attempts count and logs attempt time
- rspec ./spec/models/sources/base_spec.rb:127 # Sources::Base request wrapper wrong credentials catching and send mail skipping request is true if not enough time passed since last attempt
- Randomized with seed 6047
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement