mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Show feedback upon survey response
Resolves:
Failures:
1) Survey as an attendee respond to a survey during registration
Failure/Error: expect(flash).to eq('Successfully responded to survey.')
expected: "Successfully responded to survey."
got: "none"
(compared using ==)
# ./spec/features/surveys_spec.rb:49:in `block (3 levels) in <top (required)>'
Failed examples:
rspec ./spec/features/surveys_spec.rb:37 # Survey as an attendee respond to a survey during registration
This commit is contained in:
parent
b565be2f46
commit
02dc5011fe
1 changed files with 1 additions and 1 deletions
|
|
@ -40,6 +40,6 @@ class SurveysController < ApplicationController
|
|||
end
|
||||
end
|
||||
|
||||
redirect_back(fallback_location: root_path)
|
||||
redirect_back(fallback_location: root_path, notice: 'Successfully responded to survey.')
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue