Skip to content

Commit 1490372

Browse files
committed
Enter binding.pry when running bin/congress_forms --no-submit
1 parent cf99225 commit 1490372

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

lib/congress_forms/web_form.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,13 @@ def fill(values, browser: self.class.create_browser, validate_only: false)
6666
log("#{bioguide} fill")
6767

6868
actions.each do |action|
69-
break if action.submit? && validate_only
69+
if action.submit? && validate_only
70+
break if defined?(Rails)
71+
72+
require "pry"
73+
binding.pry
74+
exit
75+
end
7076

7177
log(action.inspect)
7278

0 commit comments

Comments
 (0)