Skip to content

Commit 9c8dd6e

Browse files
committed
Add/fix signup/login form checks
1 parent a7c1ae1 commit 9c8dd6e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

spec/dummy/spec/views/home_show_spec.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@
1717

1818
it 'shows the correct log in link' do
1919
render
20-
expect(html.search('a[href="/auth/rpi"]')).not_to be_empty
20+
expect(html.search('form[action="/auth/rpi?login_options=v1_signup"]')).not_to be_empty
21+
end
22+
23+
it 'shows the sign up link' do
24+
render
25+
expect(html.search('form[action="/auth/rpi?login_options=force_signup%2Cv1_signup"]')).not_to be_empty
2126
end
2227
end
2328

0 commit comments

Comments
 (0)