diff --git a/lib/generators/suspenders/accessibility_generator.rb b/lib/generators/suspenders/accessibility_generator.rb index 85b91a553..ea6da16b6 100644 --- a/lib/generators/suspenders/accessibility_generator.rb +++ b/lib/generators/suspenders/accessibility_generator.rb @@ -7,7 +7,7 @@ class AccessibilityGenerator < Rails::Generators::Base def add_capybara_gems gem_group :test do - gem "capybara_accessibility_audit" + gem "capybara_accessibility_audit", github: "thoughtbot/capybara_accessibility_audit" gem "capybara_accessible_selectors", github: "citizensadvice/capybara_accessible_selectors" end Bundler.with_unbundled_env { run "bundle install" } diff --git a/test/generators/suspenders/accessibility_generator_test.rb b/test/generators/suspenders/accessibility_generator_test.rb index c8ca95ef1..927e96b0c 100644 --- a/test/generators/suspenders/accessibility_generator_test.rb +++ b/test/generators/suspenders/accessibility_generator_test.rb @@ -38,7 +38,7 @@ class AccessibilityGeneratorTest < Rails::Generators::TestCase test "adds gems to Gemfile" do expected_output = <<~RUBY group :test do - gem "capybara_accessibility_audit" + gem "capybara_accessibility_audit", github: "thoughtbot/capybara_accessibility_audit" gem "capybara_accessible_selectors", github: "citizensadvice/capybara_accessible_selectors" end RUBY