Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

Forgot to make test Flipper-conditional

Juan José Mata6a95c91d739f
diff --git a/test/controllers/invitations_controller_test.rb b/test/controllers/invitations_controller_test.rb
index e558658e48..7035eee5c7 100644
--- a/test/controllers/invitations_controller_test.rb
+++ b/test/controllers/invitations_controller_test.rb
@@ -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