spreewald 3.0.2 → 4.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +42 -0
  3. data/.ruby-version +1 -1
  4. data/CHANGELOG.md +29 -0
  5. data/Gemfile +1 -1
  6. data/Gemfile.lock +2 -2
  7. data/Gemfile.ruby245 +3 -0
  8. data/Gemfile.ruby245.lock +11 -2
  9. data/Gemfile.ruby266 +3 -0
  10. data/Gemfile.ruby266.lock +12 -2
  11. data/{Gemfile.ruby218 → Gemfile.ruby300} +6 -1
  12. data/Gemfile.ruby300.lock +108 -0
  13. data/README.md +41 -3
  14. data/Rakefile +34 -19
  15. data/features/binary.feature +2 -2
  16. data/features/support/step_definitions/custom_steps.rb +10 -0
  17. data/lib/spreewald.rb +1 -0
  18. data/lib/spreewald/browser_tab_steps.rb +1 -1
  19. data/lib/spreewald/development_steps.rb +5 -5
  20. data/lib/spreewald/email_steps.rb +3 -1
  21. data/lib/spreewald/frame_steps.rb +77 -0
  22. data/lib/spreewald_support/mail_finder.rb +11 -10
  23. data/lib/spreewald_support/mail_to_plaintext_converter.rb +42 -0
  24. data/lib/spreewald_support/unsupported_email_header.rb +22 -0
  25. data/lib/spreewald_support/version.rb +1 -1
  26. data/spec/spreewald_support/mail_to_plaintext_converter_spec.rb +60 -0
  27. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/Gemfile +1 -1
  28. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/Gemfile.lock +15 -17
  29. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/README.rdoc +0 -0
  30. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/Rakefile +0 -0
  31. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/app +0 -0
  32. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/bin/bundle +0 -0
  33. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/bin/rails +0 -0
  34. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/bin/rake +0 -0
  35. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/bin/setup +0 -0
  36. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config.ru +0 -0
  37. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/application.rb +0 -0
  38. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/boot.rb +0 -0
  39. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/cucumber.yml +0 -0
  40. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/database.yml +0 -0
  41. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/environment.rb +0 -0
  42. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/environments/development.rb +0 -0
  43. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/environments/test.rb +0 -0
  44. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/backtrace_silencers.rb +0 -0
  45. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/cookies_serializer.rb +0 -0
  46. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/filter_parameter_logging.rb +0 -0
  47. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/inflections.rb +0 -0
  48. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/mime_types.rb +0 -0
  49. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/session_store.rb +0 -0
  50. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/silence_deprecation_warnings.rb +0 -0
  51. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/to_time_preserves_timezone.rb +0 -0
  52. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/wrap_parameters.rb +0 -0
  53. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/locales/en.yml +0 -0
  54. data/tests/{rails-3_capybara-1 → rails-4_capybara-2}/config/routes.rb +0 -0
  55. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/secrets.yml +0 -0
  56. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/db +0 -0
  57. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/browser_tab_steps.feature +0 -0
  58. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/development_steps.feature +0 -0
  59. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/email_steps.feature +0 -0
  60. data/tests/rails-4_capybara-2/features/iframe_steps.feature +1 -0
  61. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/overriding.feature +0 -0
  62. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/session_steps.feature +0 -0
  63. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/step_definitions/overriding_steps.rb +0 -0
  64. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/step_definitions/test_steps.rb +0 -0
  65. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/support/env.rb +0 -0
  66. data/tests/{rails-3_capybara-1 → rails-4_capybara-2}/features/support/paths.rb +0 -0
  67. data/tests/{rails-3_capybara-1 → rails-4_capybara-2}/features/support/selectors.rb +0 -0
  68. data/tests/rails-4_capybara-2/features/support/selenium.rb +1 -0
  69. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/table_steps.feature +0 -0
  70. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/time_steps.feature +0 -0
  71. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/web_steps.feature +0 -0
  72. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/lib/tasks/cucumber.rake +0 -0
  73. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/log/.keep +0 -0
  74. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/public/404.html +0 -0
  75. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/public/422.html +0 -0
  76. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/public/500.html +0 -0
  77. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/public/favicon.ico +0 -0
  78. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/public/fixture_files +0 -0
  79. data/tests/{rails-3_capybara-1 → rails-4_capybara-2}/script/cucumber +0 -0
  80. data/tests/rails-6_capybara-3/.ruby-version +1 -1
  81. data/tests/rails-6_capybara-3/Gemfile +4 -2
  82. data/tests/rails-6_capybara-3/Gemfile.lock +177 -143
  83. data/tests/rails-6_capybara-3/app/mailers/spreewald_mailer.rb +16 -0
  84. data/tests/rails-6_capybara-3/config.ru +1 -0
  85. data/tests/rails-6_capybara-3/config/cucumber.yml +1 -1
  86. data/tests/rails-6_capybara-3/config/environments/development.rb +21 -3
  87. data/tests/rails-6_capybara-3/config/environments/test.rb +12 -1
  88. data/tests/rails-6_capybara-3/config/initializers/backtrace_silencers.rb +4 -3
  89. data/tests/rails-6_capybara-3/config/initializers/filter_parameter_logging.rb +3 -1
  90. data/tests/rails-6_capybara-3/config/initializers/new_framework_defaults_6_1.rb +67 -0
  91. data/tests/rails-6_capybara-3/config/initializers/permissions_policy.rb +11 -0
  92. data/tests/rails-6_capybara-3/features/iframe_steps.feature +1 -0
  93. data/tests/rails-6_capybara-3/features/support/selenium.rb +1 -0
  94. data/tests/shared/app/controllers/emails_controller.rb +20 -0
  95. data/tests/shared/app/controllers/iframes_controller.rb +11 -0
  96. data/tests/shared/app/controllers/static_pages_controller.rb +12 -8
  97. data/tests/shared/app/models/mailer.rb +32 -0
  98. data/tests/shared/app/views/iframes/iframe_1_content.haml +12 -0
  99. data/tests/shared/app/views/iframes/iframe_2_content.haml +12 -0
  100. data/tests/shared/app/views/mailer/html_email_for_failed_test_without_header.haml +5 -0
  101. data/tests/shared/app/views/mailer/html_email_for_successful_test_without_header.haml +7 -0
  102. data/tests/shared/app/views/mailer/text_email_for_failed_test_without_header.text.erb +1 -0
  103. data/tests/shared/app/views/mailer/text_email_for_successful_test_without_header.text.erb +3 -0
  104. data/tests/shared/app/views/static_pages/iframe.haml +3 -0
  105. data/tests/shared/config/routes.rb +8 -0
  106. data/tests/shared/features/shared/email_steps.feature +185 -0
  107. data/tests/shared/features/shared/iframe_steps.feature +38 -0
  108. data/tests/shared/features/shared/step_definitions/test_steps.rb +5 -6
  109. data/tests/shared/features/support/selenium.rb +10 -0
  110. metadata +143 -184
  111. data/.travis.yml +0 -29
  112. data/Gemfile.ruby218.lock +0 -58
  113. data/tests/rails-3_capybara-1/.ruby-version +0 -1
  114. data/tests/rails-3_capybara-1/Gemfile +0 -20
  115. data/tests/rails-3_capybara-1/Gemfile.lock +0 -182
  116. data/tests/rails-3_capybara-1/Rakefile +0 -18
  117. data/tests/rails-3_capybara-1/app +0 -1
  118. data/tests/rails-3_capybara-1/config.ru +0 -4
  119. data/tests/rails-3_capybara-1/config/application.rb +0 -29
  120. data/tests/rails-3_capybara-1/config/boot.rb +0 -15
  121. data/tests/rails-3_capybara-1/config/cucumber.yml +0 -1
  122. data/tests/rails-3_capybara-1/config/database.yml +0 -1
  123. data/tests/rails-3_capybara-1/config/environment.rb +0 -7
  124. data/tests/rails-3_capybara-1/config/initializers/backtrace_silencers.rb +0 -9
  125. data/tests/rails-3_capybara-1/config/initializers/inflections.rb +0 -12
  126. data/tests/rails-3_capybara-1/config/initializers/mime_types.rb +0 -7
  127. data/tests/rails-3_capybara-1/config/initializers/secret_token.rb +0 -9
  128. data/tests/rails-3_capybara-1/config/initializers/session_store.rb +0 -5
  129. data/tests/rails-3_capybara-1/db +0 -1
  130. data/tests/rails-3_capybara-1/features/shared +0 -1
  131. data/tests/rails-3_capybara-1/features/support/env.rb +0 -65
  132. data/tests/rails-3_capybara-1/features/support/selenium.rb +0 -3
  133. data/tests/rails-3_capybara-1/public +0 -1
  134. data/tests/rails-3_capybara-1/script/rails +0 -6
  135. data/tests/rails-3_capybara-2/.ruby-version +0 -1
  136. data/tests/rails-3_capybara-2/Gemfile +0 -21
  137. data/tests/rails-3_capybara-2/Gemfile.lock +0 -191
  138. data/tests/rails-3_capybara-2/Rakefile +0 -1
  139. data/tests/rails-3_capybara-2/app +0 -1
  140. data/tests/rails-3_capybara-2/config +0 -1
  141. data/tests/rails-3_capybara-2/config.ru +0 -1
  142. data/tests/rails-3_capybara-2/db +0 -1
  143. data/tests/rails-3_capybara-2/features +0 -1
  144. data/tests/rails-3_capybara-2/public +0 -1
  145. data/tests/rails-3_capybara-2/script +0 -1
  146. data/tests/rails-4_capybara-3/config/routes.rb +0 -1
  147. data/tests/rails-4_capybara-3/features/support/paths.rb +0 -1
  148. data/tests/rails-4_capybara-3/features/support/selectors.rb +0 -1
  149. data/tests/rails-4_capybara-3/features/support/selenium.rb +0 -3
  150. data/tests/rails-4_capybara-3/script/cucumber +0 -10
  151. data/tests/rails-6_capybara-3/features/support/selenium.rb +0 -3
data/.travis.yml DELETED
@@ -1,29 +0,0 @@
1
- # This file is used for Gemika (https://github.com/makandra/gemika) only.
2
- # It will not work with travis-ci.
3
-
4
- language: ruby
5
-
6
- rvm:
7
- - 2.1.8
8
- - 2.4.5
9
- - 2.6.6
10
-
11
- matrix:
12
- include:
13
- # Test projects
14
- - gemfile: tests/rails-3_capybara-1/Gemfile
15
- rvm: 2.1.8
16
- - gemfile: tests/rails-3_capybara-2/Gemfile
17
- rvm: 2.1.8
18
- - gemfile: tests/rails-4_capybara-3/Gemfile
19
- rvm: 2.4.5
20
- - gemfile: tests/rails-6_capybara-3/Gemfile
21
- rvm: 2.6.6
22
- # Used to run rspec and tests for spreewald binary:
23
- - gemfile: Gemfile.ruby218
24
- rvm: 2.1.8
25
- - gemfile: Gemfile.ruby245
26
- rvm: 2.4.5
27
- - gemfile: Gemfile.ruby266
28
- rvm: 2.6.6
29
-
data/Gemfile.ruby218.lock DELETED
@@ -1,58 +0,0 @@
1
- GEM
2
- remote: https://rubygems.org/
3
- specs:
4
- aruba (0.14.9)
5
- childprocess (>= 0.6.3, < 1.1.0)
6
- contracts (~> 0.9)
7
- cucumber (>= 1.3.19)
8
- ffi (~> 1.9)
9
- rspec-expectations (>= 2.99)
10
- thor (~> 0.19)
11
- builder (3.2.3)
12
- childprocess (1.0.1)
13
- rake (< 13.0)
14
- contracts (0.16.0)
15
- cucumber (2.99.0)
16
- builder (>= 2.1.2)
17
- cucumber-core (~> 1.5.0)
18
- cucumber-wire (~> 0.0.1)
19
- diff-lcs (>= 1.1.3)
20
- gherkin (~> 4.0)
21
- multi_json (>= 1.7.5, < 2.0)
22
- multi_test (>= 0.1.2)
23
- cucumber-core (1.5.0)
24
- gherkin (~> 4.0)
25
- cucumber-wire (0.0.1)
26
- diff-lcs (1.3)
27
- ffi (1.10.0)
28
- gemika (0.3.4)
29
- gherkin (4.1.3)
30
- multi_json (1.13.1)
31
- multi_test (0.1.2)
32
- rake (12.3.2)
33
- rspec (3.8.0)
34
- rspec-core (~> 3.8.0)
35
- rspec-expectations (~> 3.8.0)
36
- rspec-mocks (~> 3.8.0)
37
- rspec-core (3.8.0)
38
- rspec-support (~> 3.8.0)
39
- rspec-expectations (3.8.3)
40
- diff-lcs (>= 1.2.0, < 2.0)
41
- rspec-support (~> 3.8.0)
42
- rspec-mocks (3.8.0)
43
- diff-lcs (>= 1.2.0, < 2.0)
44
- rspec-support (~> 3.8.0)
45
- rspec-support (3.8.0)
46
- thor (0.20.3)
47
-
48
- PLATFORMS
49
- ruby
50
-
51
- DEPENDENCIES
52
- aruba
53
- cucumber (< 3)
54
- gemika
55
- rspec
56
-
57
- BUNDLED WITH
58
- 1.17.3
@@ -1 +0,0 @@
1
- 2.1.8
@@ -1,20 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'rails', '~>3.2'
4
- gem "sqlite3", :platform=>:ruby
5
- gem 'haml-rails'
6
- gem 'gemika'
7
-
8
- gem 'pry'
9
-
10
- group :test do
11
- gem 'database_cleaner'
12
- gem 'launchy'
13
- gem 'capybara', "~>1" # for ruby 1.8.7 compatibility
14
- gem 'cucumber-rails'
15
- gem 'cucumber', '1.3.8', require: false
16
- gem 'selenium-webdriver'
17
- gem 'rspec-rails'
18
- gem 'spreewald', :path => '../..'
19
- gem 'timecop'
20
- end
@@ -1,182 +0,0 @@
1
- PATH
2
- remote: ../..
3
- specs:
4
- spreewald (3.0.2)
5
- cucumber
6
- cucumber_priority (>= 0.3.0)
7
- rspec (>= 2.13.0)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- actionmailer (3.2.13)
13
- actionpack (= 3.2.13)
14
- mail (~> 2.5.3)
15
- actionpack (3.2.13)
16
- activemodel (= 3.2.13)
17
- activesupport (= 3.2.13)
18
- builder (~> 3.0.0)
19
- erubis (~> 2.7.0)
20
- journey (~> 1.0.4)
21
- rack (~> 1.4.5)
22
- rack-cache (~> 1.2)
23
- rack-test (~> 0.6.1)
24
- sprockets (~> 2.2.1)
25
- activemodel (3.2.13)
26
- activesupport (= 3.2.13)
27
- builder (~> 3.0.0)
28
- activerecord (3.2.13)
29
- activemodel (= 3.2.13)
30
- activesupport (= 3.2.13)
31
- arel (~> 3.0.2)
32
- tzinfo (~> 0.3.29)
33
- activeresource (3.2.13)
34
- activemodel (= 3.2.13)
35
- activesupport (= 3.2.13)
36
- activesupport (3.2.13)
37
- i18n (= 0.6.1)
38
- multi_json (~> 1.0)
39
- addressable (2.6.0)
40
- public_suffix (>= 2.0.2, < 4.0)
41
- arel (3.0.2)
42
- builder (3.0.4)
43
- capybara (1.1.4)
44
- mime-types (>= 1.16)
45
- nokogiri (>= 1.3.3)
46
- rack (>= 1.0.0)
47
- rack-test (>= 0.5.4)
48
- selenium-webdriver (~> 2.0)
49
- xpath (~> 0.1.4)
50
- childprocess (0.3.9)
51
- ffi (~> 1.0, >= 1.0.11)
52
- coderay (1.1.2)
53
- cucumber (1.3.8)
54
- builder (>= 2.1.2)
55
- diff-lcs (>= 1.1.3)
56
- gherkin (~> 2.12.1)
57
- multi_json (>= 1.7.5, < 2.0)
58
- multi_test (>= 0.0.2)
59
- cucumber-rails (1.4.0)
60
- capybara (>= 1.1.2)
61
- cucumber (>= 1.2.0)
62
- nokogiri (>= 1.5.0)
63
- rails (>= 3.0.0)
64
- cucumber_priority (0.3.2)
65
- cucumber
66
- database_cleaner (1.0.1)
67
- diff-lcs (1.3)
68
- erubis (2.7.0)
69
- ffi (1.8.1)
70
- gemika (0.3.2)
71
- gherkin (2.12.2)
72
- multi_json (~> 1.3)
73
- haml (4.0.3)
74
- tilt
75
- haml-rails (0.4)
76
- actionpack (>= 3.1, < 4.1)
77
- activesupport (>= 3.1, < 4.1)
78
- haml (>= 3.1, < 4.1)
79
- railties (>= 3.1, < 4.1)
80
- hike (1.2.2)
81
- i18n (0.6.1)
82
- journey (1.0.4)
83
- json (1.8.0)
84
- launchy (2.4.3)
85
- addressable (~> 2.3)
86
- mail (2.5.4)
87
- mime-types (~> 1.16)
88
- treetop (~> 1.4.8)
89
- method_source (0.9.2)
90
- mime-types (1.23)
91
- multi_json (1.12.1)
92
- multi_test (0.1.2)
93
- nokogiri (1.5.9)
94
- polyglot (0.3.3)
95
- pry (0.12.2)
96
- coderay (~> 1.1.0)
97
- method_source (~> 0.9.0)
98
- public_suffix (3.0.3)
99
- rack (1.4.5)
100
- rack-cache (1.2)
101
- rack (>= 0.4)
102
- rack-ssl (1.3.3)
103
- rack
104
- rack-test (0.6.2)
105
- rack (>= 1.0)
106
- rails (3.2.13)
107
- actionmailer (= 3.2.13)
108
- actionpack (= 3.2.13)
109
- activerecord (= 3.2.13)
110
- activeresource (= 3.2.13)
111
- activesupport (= 3.2.13)
112
- bundler (~> 1.0)
113
- railties (= 3.2.13)
114
- railties (3.2.13)
115
- actionpack (= 3.2.13)
116
- activesupport (= 3.2.13)
117
- rack-ssl (~> 1.3.2)
118
- rake (>= 0.8.7)
119
- rdoc (~> 3.4)
120
- thor (>= 0.14.6, < 2.0)
121
- rake (10.0.4)
122
- rdoc (3.12.2)
123
- json (~> 1.4)
124
- rspec (2.14.1)
125
- rspec-core (~> 2.14.0)
126
- rspec-expectations (~> 2.14.0)
127
- rspec-mocks (~> 2.14.0)
128
- rspec-core (2.14.8)
129
- rspec-expectations (2.14.5)
130
- diff-lcs (>= 1.1.3, < 2.0)
131
- rspec-mocks (2.14.6)
132
- rspec-rails (2.14.0)
133
- actionpack (>= 3.0)
134
- activesupport (>= 3.0)
135
- railties (>= 3.0)
136
- rspec-core (~> 2.14.0)
137
- rspec-expectations (~> 2.14.0)
138
- rspec-mocks (~> 2.14.0)
139
- rubyzip (0.9.9)
140
- selenium-webdriver (2.34.0)
141
- childprocess (>= 0.2.5)
142
- multi_json (~> 1.0)
143
- rubyzip
144
- websocket (~> 1.0.4)
145
- sprockets (2.2.2)
146
- hike (~> 1.2)
147
- multi_json (~> 1.0)
148
- rack (~> 1.0)
149
- tilt (~> 1.1, != 1.3.0)
150
- sqlite3 (1.3.8)
151
- thor (0.18.1)
152
- tilt (1.4.1)
153
- timecop (0.9.1)
154
- treetop (1.4.12)
155
- polyglot
156
- polyglot (>= 0.3.1)
157
- tzinfo (0.3.37)
158
- websocket (1.0.7)
159
- xpath (0.1.4)
160
- nokogiri (~> 1.3)
161
-
162
- PLATFORMS
163
- ruby
164
-
165
- DEPENDENCIES
166
- capybara (~> 1)
167
- cucumber (= 1.3.8)
168
- cucumber-rails
169
- database_cleaner
170
- gemika
171
- haml-rails
172
- launchy
173
- pry
174
- rails (~> 3.2)
175
- rspec-rails
176
- selenium-webdriver
177
- spreewald!
178
- sqlite3
179
- timecop
180
-
181
- BUNDLED WITH
182
- 1.17.3
@@ -1,18 +0,0 @@
1
- #!/usr/bin/env rake
2
- require 'cucumber/rake/task'
3
-
4
- desc 'Default: Run all specs for a specific rails version.'
5
- task :default => :features
6
-
7
- desc 'Run all specs for rails 3.2'
8
- Cucumber::Rake::Task.new(:features) do |t|
9
- feature = if ENV['SINGLE_FEATURE']
10
- "../../shared/features/shared/#{ ENV['SINGLE_FEATURE'] }"
11
- else
12
- 'features/shared'
13
- end
14
-
15
- # tell cucumber where it finds it files (subdirectories and symlinks are confusing it)
16
- t.cucumber_opts = "--require features --require features/shared #{feature}"
17
- end
18
-
@@ -1 +0,0 @@
1
- ../shared/app
@@ -1,4 +0,0 @@
1
- # This file is used by Rack-based servers to start the application.
2
-
3
- require ::File.expand_path('../config/environment', __FILE__)
4
- run SpreewaldTest::Application
@@ -1,29 +0,0 @@
1
- # encoding: utf-8
2
-
3
- require File.expand_path('../boot', __FILE__)
4
-
5
- require 'rails/all'
6
-
7
- # If you have a Gemfile, require the gems listed there, including any gems
8
- # you've limited to :test, :development, or :production.
9
- Bundler.require(:default, Rails.env) if defined?(Bundler)
10
-
11
- module SpreewaldTest
12
- class Application < Rails::Application
13
- config.encoding = "utf-8"
14
-
15
- config.cache_classes = true
16
- config.whiny_nils = true
17
-
18
- config.consider_all_requests_local = true
19
- config.action_controller.perform_caching = false
20
- config.action_controller.allow_forgery_protection = false
21
-
22
- config.action_dispatch.show_exceptions = false
23
- config.action_mailer.delivery_method = :test
24
- config.action_mailer.raise_delivery_errors = true
25
- config.active_support.deprecation = :stderr
26
-
27
- config.root = File.expand_path('../..', __FILE__)
28
- end
29
- end
@@ -1,15 +0,0 @@
1
- # encoding: utf-8
2
-
3
- require 'rubygems'
4
-
5
- # Set up gems listed in the Gemfile.
6
- gemfile = File.expand_path('../../Gemfile', __FILE__)
7
- begin
8
- ENV['BUNDLE_GEMFILE'] = gemfile
9
- require 'bundler'
10
- Bundler.setup
11
- rescue Bundler::GemNotFound => e
12
- STDERR.puts e.message
13
- STDERR.puts "Try running `bundle install`."
14
- exit!
15
- end if File.exist?(gemfile)
@@ -1 +0,0 @@
1
- ../../shared/config/cucumber.yml
@@ -1 +0,0 @@
1
- ../../shared/config/database.yml
@@ -1,7 +0,0 @@
1
- # encoding: utf-8
2
-
3
- # Load the rails application
4
- require File.expand_path('../application', __FILE__)
5
-
6
- # Initialize the rails application
7
- SpreewaldTest::Application.initialize!
@@ -1,9 +0,0 @@
1
- # encoding: utf-8
2
-
3
- # Be sure to restart your server when you modify this file.
4
-
5
- # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
6
- # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
7
-
8
- # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
9
- # Rails.backtrace_cleaner.remove_silencers!
@@ -1,12 +0,0 @@
1
- # encoding: utf-8
2
-
3
- # Be sure to restart your server when you modify this file.
4
-
5
- # Add new inflection rules using the following format
6
- # (all these examples are active by default):
7
- # ActiveSupport::Inflector.inflections do |inflect|
8
- # inflect.plural /^(ox)$/i, '\1en'
9
- # inflect.singular /^(ox)en/i, '\1'
10
- # inflect.irregular 'person', 'people'
11
- # inflect.uncountable %w( fish sheep )
12
- # end
@@ -1,7 +0,0 @@
1
- # encoding: utf-8
2
-
3
- # Be sure to restart your server when you modify this file.
4
-
5
- # Add new mime types for use in respond_to blocks:
6
- # Mime::Type.register "text/richtext", :rtf
7
- # Mime::Type.register_alias "text/html", :iphone
@@ -1,9 +0,0 @@
1
- # encoding: utf-8
2
-
3
- # Be sure to restart your server when you modify this file.
4
-
5
- # Your secret key for verifying the integrity of signed cookies.
6
- # If you change this key, all old signed cookies will become invalid!
7
- # Make sure the secret is at least 30 characters and all random,
8
- # no regular words or you'll be exposed to dictionary attacks.
9
- SpreewaldTest::Application.config.secret_token = 'cb014a08a45243e7143f31e04774c342c1fba329fd594ae1a480d8283b1a851f425dc08044311fb4be6d000b6e6681de7c76d19148419a5ffa0a9f84556d3b33'
@@ -1,5 +0,0 @@
1
- # encoding: utf-8
2
-
3
- # Be sure to restart your server when you modify this file.
4
-
5
- SpreewaldTest::Application.config.session_store :cookie_store, :key => '_spreewald_test_session'
@@ -1 +0,0 @@
1
- ../shared/db