Vouchers for user promotion - Part 2: Redemption #869
tests.yml
on: pull_request
Unit tests
4m 30s
e2e (Cypress)
6m 47s
Annotations
11 errors
Unit tests:
spec/models/current_spec.rb#L14
Current current_user= via ApplicationController sets the current user
Failure/Error: ApplicationController.current_user = :user
NoMethodError:
undefined method `current_user=' for ApplicationController:Class
ApplicationController.current_user = :user
^^^^^^^^^^^^^^^
|
Unit tests:
spec/models/talk_spec.rb#L4
Talk has a valid factory
Failure/Error: expect(FactoryBot.build(:valid_talk)).to be_valid
KeyError:
Trait not registered: "with_seminar" referenced within "valid_talk" definition
|
Unit tests:
spec/models/talk_spec.rb#L9
Talk is invalid without a lecture
Failure/Error: talk = FactoryBot.build(:valid_talk)
KeyError:
Trait not registered: "with_seminar" referenced within "valid_talk" definition
|
Unit tests:
spec/models/talk_spec.rb#L14
Talk is invalid without a title
Failure/Error: talk = FactoryBot.build(:valid_talk)
KeyError:
Trait not registered: "with_seminar" referenced within "valid_talk" definition
|
Unit tests:
spec/models/talk_spec.rb#L26
Talk talk with date is valid
Failure/Error: @Talk = FactoryBot.build(:valid_talk, :with_date)
KeyError:
Trait not registered: "with_seminar" referenced within "valid_talk" definition
|
Unit tests:
spec/models/talk_spec.rb#L29
Talk talk with date has a date
Failure/Error: @Talk = FactoryBot.build(:valid_talk, :with_date)
KeyError:
Trait not registered: "with_seminar" referenced within "valid_talk" definition
|
Unit tests:
spec/models/talk_spec.rb#L38
Talk talk with speaker is valid
Failure/Error: @Talk = FactoryBot.build(:valid_talk, :with_speaker)
KeyError:
Trait not registered: "with_seminar" referenced within "valid_talk" definition
|
Unit tests:
spec/models/talk_spec.rb#L41
Talk talk with speaker has a speaker
Failure/Error: @Talk = FactoryBot.build(:valid_talk, :with_speaker)
KeyError:
Trait not registered: "with_seminar" referenced within "valid_talk" definition
|
Unit tests:
spec/models/talk_spec.rb#L126
Talk#given_by? returns true if the user is a speaker of the talk
Failure/Error: talk = FactoryBot.build(:valid_talk)
KeyError:
Trait not registered: "with_seminar" referenced within "valid_talk" definition
|
Unit tests:
spec/models/talk_spec.rb#L196
Talk position methods #proper_media returns the array of media associated to the talk that are neither Questions nor Remarks
Failure/Error: talk = FactoryBot.create(:valid_talk)
KeyError:
Trait not registered: "with_seminar" referenced within "valid_talk" definition
|
e2e (Cypress)
Process completed with exit code 1.
|