Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

used regexp match instead of string match #21

Merged
merged 2 commits into from
Dec 26, 2018
Merged

used regexp match instead of string match #21

merged 2 commits into from
Dec 26, 2018

Conversation

bartes
Copy link

@bartes bartes commented Dec 26, 2018

No description provided.

@bartes bartes self-assigned this Dec 26, 2018
context 'when referer is used' do
let(:referer) { '/test' }

before do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

before { valid_config['$login.failed']['referer'] = referer }

end

context 'when wrong non utf referer is used' do
let(:conditions) { { status: '302', referer: broken_path, path: '/sign_in', method: 'POST', authenticate: false } }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New line

Copy link
Contributor

@nijikon nijikon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix Coditsu

@bartes
Copy link
Author

bartes commented Dec 26, 2018

@nijikon corrected

@bartes bartes merged commit ac16cff into upgrades Dec 26, 2018
@bartes bartes deleted the to_regexp branch December 26, 2018 21:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants