mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Forgot to make test Flipper-conditional
This commit is contained in:
@@ -9,8 +9,8 @@ class InvitationsControllerTest < ActionDispatch::IntegrationTest
|
||||
test "should get new" do
|
||||
get new_invitation_url
|
||||
assert_response :success
|
||||
assert_select "option[value=?]", "guest", count: 0 unless Flipper.enabled?(:intro_ui)
|
||||
assert_select "option[value=?]", "member"
|
||||
assert_select "option[value=?]", "guest"
|
||||
assert_select "option[value=?]", "admin"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user