support_utils 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +243 -0
- data/Rakefile +43 -0
- data/app/assets/javascripts/support_utils/application.js +13 -0
- data/app/assets/stylesheets/support_utils/application.css +15 -0
- data/app/controllers/support_utils/application_controller.rb +4 -0
- data/app/helpers/support_utils/application_helper.rb +4 -0
- data/app/views/layouts/support_utils/application.html.erb +14 -0
- data/config/routes.rb +2 -0
- data/lib/support_utils/all.rb +5 -0
- data/lib/support_utils/concerns/core.rb +19 -0
- data/lib/support_utils/concerns/utils.rb +139 -0
- data/lib/support_utils/core/active_record/utils.rb +30 -0
- data/lib/support_utils/engine.rb +17 -0
- data/lib/support_utils/version.rb +3 -0
- data/lib/support_utils.rb +5 -0
- data/lib/tasks/support_utils_tasks.rake +4 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/javascripts/home.js +2 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/assets/stylesheets/home.css +4 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/controllers/home_controller.rb +16 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/helpers/home_helper.rb +2 -0
- data/test/dummy/app/models/order.rb +4 -0
- data/test/dummy/app/models/user.rb +5 -0
- data/test/dummy/app/views/home/index.html.haml +14 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config/application.rb +25 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +6 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20150421030302_create_users.rb +15 -0
- data/test/dummy/db/migrate/20150424032916_create_orders.rb +13 -0
- data/test/dummy/db/schema.rb +40 -0
- data/test/dummy/db/seeds.rb +22 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +21189 -0
- data/test/dummy/log/test.log +24976 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/test/controllers/home_controller_test.rb +9 -0
- data/test/dummy/test/fixtures/orders.yml +11 -0
- data/test/dummy/test/fixtures/users.yml +11 -0
- data/test/dummy/test/models/order_test.rb +7 -0
- data/test/dummy/test/models/user_test.rb +7 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3NRucTfJ9BKkkU15VHmiAFLNCBXUcM7cI0lC7kfC9cs.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3znTKTngGxqbpsBO_atx9ttmvCC2R3F5bTTs_c2ZwlQ.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7iGVpTK8ipk4icjxlsN7_axlCbiz8VLUey6zaDm5CB4.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/94Td0gD2ZdGZXjN-lqW_GPcwPnMzVVC8YOdC3murnNw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/AbJ-9O9KeXeOV2JPNKgKAu1cshodEuc1fr1d6nSW1Tw.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BakjJOfl62-U5OwnMPFaA5M6PxHCbIXUukbywsRc04I.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/C43usClnARO4nvHgtvyMFUKTpQrCDh6QoILF0Sp4qtQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Cmv302frYnh4fgJ8_imPcZsOl7KXzTyG7D6TWCxWacw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/DGaYSlF6J66LSV7HU-CzM121_hmVW-ZckEuMH4dVGfE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/FhMdTeLemC2NktXS-qg79dcf-6XH0H6MubhtzrYwAHg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/T7YPma3x0I0a_j2-i-oKq62kCKhrERRH-keUpZj735U.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UMNBueOpK1ZOpvew838FGssDdE9cMBktro39Y0fyA1U.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WId-ddc3Lwxh3C2etcMTfFUeFcozMmvlqDyPG3mFZ_M.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Xr4odg5nk4lfGRnM6VyO8I0Tv1AFXSjMbS58IDdcmIQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_Z5XYP39T5mP_4LYCVvDRADi4FCIxb0NxKuexbsEUqk.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bSLZsG1luW7787CD0lmEKXV8Ilk34QWHjgIziRCLFVU.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/e8zfeDl4Df2LqDkqLY-vidciI2Prs4VyI5z0Dl_bf5I.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/eDF6xL-AIvprUjziaae0FZKKfuf17xuP6JpHyUXr9Es.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gbCssFRrBV6Nanj05aj9wAnwQWCquourp1Wt1xH7JeM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/h1k_cMvuG7MWjYeBIVsoCV2HvdnOLTEomuj-VF82O_U.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kDmo231uFksuDbjFiin7W3bXt0E6_tDkYerlfc54qb8.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lMSZWAnUxgeUMPFLbZ9mvwKP_JNxvAkfCeA7NKFNKnQ.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mwWZqSVVLbLYEwfPwboPPydlFFG03qIbXYNwrAkpKVo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/rx65z8GAlwmDS6WYI1x1XJ2Yl7aFGqFPhq746axBorw.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/s7bYObbtJaDA2_hyGsE0aCJhVpPb92MvUrwbOwRWVCk.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/vDs9JDRxJ8A5zQBufP3XVUaGeizn0gB8h_S1_99ixvc.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wQD8Ay8vR12nM1zd2gcdj3J4B5t2-YCN7EKfW_Scg2M.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xSrsaQkeSgOC3GH3MWTUsZuWMJNHKQlyEzZrATXjBCU.cache +2 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/support_utils_test.rb +7 -0
- data/test/test_helper.rb +20 -0
- metadata +348 -0
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/404.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
62
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/422.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The change you wanted was rejected.</h1>
|
62
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,66 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/500.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>We're sorry, but something went wrong.</h1>
|
62
|
+
</div>
|
63
|
+
<p>If you are the application owner check the logs for more information.</p>
|
64
|
+
</div>
|
65
|
+
</body>
|
66
|
+
</html>
|
File without changes
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
2
|
+
|
3
|
+
# This model initially had no columns defined. If you add columns to the
|
4
|
+
# model remove the '{}' from the fixture names and add the columns immediately
|
5
|
+
# below each fixture, per the syntax in the comments below
|
6
|
+
#
|
7
|
+
one: {}
|
8
|
+
# column: value
|
9
|
+
#
|
10
|
+
two: {}
|
11
|
+
# column: value
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
2
|
+
|
3
|
+
# This model initially had no columns defined. If you add columns to the
|
4
|
+
# model remove the '{}' from the fixture names and add the columns immediately
|
5
|
+
# below each fixture, per the syntax in the comments below
|
6
|
+
#
|
7
|
+
one: {}
|
8
|
+
# column: value
|
9
|
+
#
|
10
|
+
two: {}
|
11
|
+
# column: value
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�file:///home/shared-data/projects/ruby/engines/support_utils/test/dummy/app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=dc0752bb0209d9d0fc781c9779eaea9e5f9b61cf0d05bfd4171dd56f39698716:ET
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�file:///home/shared-data/projects/ruby/engines/support_utils/test/dummy/app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=b3b08ac4869128802f3c7bf589575ae40483a57e54a3976bc25506582f354356:ET
|
@@ -0,0 +1 @@
|
|
1
|
+
"%�W\�yho9S���ƫ˥��)|�~���(���
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
"%Ѱč@�����6H�uZoX�Z�gbh0W��V
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�file:///home/shared-data/projects/ruby/engines/support_utils/test/dummy/app/assets/javascripts/home.js?type=application/javascript&pipeline=self&id=f2f1c5b4a1707fdfad33ade267429469add5bb33ef67ce061c3cbc0cdd56db9d:ET
|
Binary file
|
@@ -0,0 +1,2 @@
|
|
1
|
+
[o:Set:
|
2
|
+
@hash{I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"yfile-digest:///home/shared-data/projects/ruby/engines/support_utils/test/dummy/app/assets/javascripts/application.js;TTI"jfile-digest:///home/shared-data/projects/ruby/engines/support_utils/test/dummy/app/assets/javascripts;TTI"rfile-digest:///home/shared-data/projects/ruby/engines/support_utils/test/dummy/app/assets/javascripts/home.js;TT
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
"%֧�NTZq�בH�L��#p3��Jg!��)
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�file:///home/shared-data/projects/ruby/engines/support_utils/test/dummy/app/assets/stylesheets/home.css?type=text/css&pipeline=self&id=5893703e532d5f2eb020a9e7f0b3183c1bf4316d31168960b07f7ee49753c5f7:ET
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�file:///home/shared-data/projects/ruby/engines/support_utils/test/dummy/app/assets/javascripts/application.js?type=application/javascript&id=952f46bae78ef8c9210c550779e79aaff0e6b5db4e64987906058a2dce38872a:ET
|
@@ -0,0 +1,2 @@
|
|
1
|
+
[o:Set:
|
2
|
+
@hash{I"environment-version:ETTI"environment-paths;TTI"0processors:type=text/css&file_type=text/css;TTI"zfile-digest:///home/shared-data/projects/ruby/engines/support_utils/test/dummy/app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"sfile-digest:///home/shared-data/projects/ruby/engines/support_utils/test/dummy/app/assets/stylesheets/home.css;TTI"jfile-digest:///home/shared-data/projects/ruby/engines/support_utils/test/dummy/app/assets/stylesheets;TT
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
"%>+�RĦ���Vʿժ�dž���.$DG�5=a���
|
Binary file
|
@@ -0,0 +1,2 @@
|
|
1
|
+
[o:Set:
|
2
|
+
@hash{I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"zfile-digest:///home/shared-data/projects/ruby/engines/support_utils/test/dummy/app/assets/stylesheets/application.css;TTI"jfile-digest:///home/shared-data/projects/ruby/engines/support_utils/test/dummy/app/assets/stylesheets;TTI"sfile-digest:///home/shared-data/projects/ruby/engines/support_utils/test/dummy/app/assets/stylesheets/home.css;TT
|
@@ -0,0 +1,2 @@
|
|
1
|
+
[o:Set:
|
2
|
+
@hash{I"environment-version:ETTI"environment-paths;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"yfile-digest:///home/shared-data/projects/ruby/engines/support_utils/test/dummy/app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"rfile-digest:///home/shared-data/projects/ruby/engines/support_utils/test/dummy/app/assets/javascripts/home.js;TTI"jfile-digest:///home/shared-data/projects/ruby/engines/support_utils/test/dummy/app/assets/javascripts;TT
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�file:///home/shared-data/projects/ruby/engines/support_utils/test/dummy/app/assets/stylesheets/application.css?type=text/css&id=aa867029b459bde251edd7121f746ba8c437f4915a94e783f3463f07e1360957:ET
|
@@ -0,0 +1 @@
|
|
1
|
+
"%s��P ��r�5�v-�o>���j��Uw^�Q�
|
Binary file
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
|
5
|
+
ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
|
6
|
+
ActiveRecord::Migrator.migrations_paths << File.expand_path('../../db/migrate', __FILE__)
|
7
|
+
require "rails/test_help"
|
8
|
+
|
9
|
+
# Filter out Minitest backtrace while allowing backtrace from other libraries
|
10
|
+
# to be shown.
|
11
|
+
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
|
12
|
+
|
13
|
+
# Load support files
|
14
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
15
|
+
|
16
|
+
# Load fixtures from the engine
|
17
|
+
if ActiveSupport::TestCase.respond_to?(:fixture_path=)
|
18
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
19
|
+
ActiveSupport::TestCase.fixtures :all
|
20
|
+
end
|