File: only-run-supported-rails-test-apps.patch

package info (click to toggle)
ruby-roadie-rails 3.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,160 kB
  • sloc: ruby: 1,651; sh: 47; makefile: 4
file content (43 lines) | stat: -rw-r--r-- 2,209 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Subject: Only run supported Rails test apps.
Author: Lucas Kanashiro <kanashiro@ubuntu.com>,
        Daniel Leidert <dleidert@debian.org>
Forwarded: not-needed
Last-Update: 2025-02-10

--- a/spec/integration_spec.rb
+++ b/spec/integration_spec.rb
@@ -3,6 +3,7 @@
 require "spec_helper"
 require "tempfile"
 require "mail"
+require "bundler"
 
 describe "Integrations" do
   def parse_html_in_email(mail)
@@ -10,16 +11,16 @@ describe "Integrations" do
   end
 
   rails_apps = [
-    RailsApp.new("Rails 5.1", "rails_51", max_ruby_version: "2.7"),
-    RailsApp.new("Rails 5.2", "rails_52", max_ruby_version: "2.7"),
-    RailsApp.new("Rails 6.0", "rails_60", max_ruby_version: "3.0"),
-    RailsApp.new("Rails 6.1", "rails_61", max_ruby_version: "3.0"),
-    RailsApp.new("Rails 7.0", "rails_70", min_ruby_version: "2.7"),
-    RailsApp.new("Rails 7.1 with sprockets", "rails_71", min_ruby_version: "2.7"),
-    RailsApp.new("Rails 7.1 with propshaft", "rails_71_with_propshaft", min_ruby_version: "2.7",
-                                                                        asset_pipeline: :propshaft),
-    RailsApp.new("Rails 8.0 with propshaft", "rails_80_with_propshaft", min_ruby_version: "3.2",
-                                                                        asset_pipeline: :propshaft),
+    #RailsApp.new("Rails 5.1", "rails_51", max_ruby_version: "2.7"),
+    #RailsApp.new("Rails 5.2", "rails_52", max_ruby_version: "2.7"),
+    #RailsApp.new("Rails 6.0", "rails_60", max_ruby_version: "3.0"),
+    #RailsApp.new("Rails 6.1", "rails_61", max_ruby_version: "3.0"),
+    #RailsApp.new("Rails 7.0", "rails_70", min_ruby_version: "2.7"),
+    #RailsApp.new("Rails 7.1 with sprockets", "rails_71", min_ruby_version: "2.7"),
+    #RailsApp.new("Rails 7.1 with propshaft", "rails_71_with_propshaft", min_ruby_version: "2.7",
+    #                                                                    asset_pipeline: :propshaft),
+    #RailsApp.new("Rails 8.0 with propshaft", "rails_80_with_propshaft", min_ruby_version: "3.2",
+    #                                                                    asset_pipeline: :propshaft),
   ]
 
   shared_examples "generates valid email" do |message|