spreewald 0.5.11 → 0.5.12
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -2
- data/Gemfile.lock +126 -0
- data/Rakefile +1 -1
- data/lib/spreewald/email_steps.rb +4 -1
- data/lib/spreewald_support/version.rb +1 -1
- data/tests/rails-2.3/Gemfile.lock +104 -0
- data/tests/rails-2.3/config/database.yml +2 -1
- data/tests/rails-3.2/Gemfile.lock +162 -0
- data/tests/rails-3.2/config/database.yml +2 -1
- metadata +7 -4
data/.gitignore
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,126 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
spreewald (0.5.12)
|
5
|
+
capybara
|
6
|
+
cucumber
|
7
|
+
cucumber-rails
|
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
|
+
arel (3.0.2)
|
40
|
+
builder (3.0.4)
|
41
|
+
capybara (2.0.2)
|
42
|
+
mime-types (>= 1.16)
|
43
|
+
nokogiri (>= 1.3.3)
|
44
|
+
rack (>= 1.0.0)
|
45
|
+
rack-test (>= 0.5.4)
|
46
|
+
selenium-webdriver (~> 2.0)
|
47
|
+
xpath (~> 1.0.0)
|
48
|
+
childprocess (0.3.9)
|
49
|
+
ffi (~> 1.0, >= 1.0.11)
|
50
|
+
cucumber (1.3.2)
|
51
|
+
builder (>= 2.1.2)
|
52
|
+
diff-lcs (>= 1.1.3)
|
53
|
+
gherkin (~> 2.12.0)
|
54
|
+
multi_json (~> 1.3)
|
55
|
+
cucumber-rails (1.3.1)
|
56
|
+
capybara (>= 1.1.2)
|
57
|
+
cucumber (>= 1.2.0)
|
58
|
+
nokogiri (>= 1.5.0)
|
59
|
+
rails (~> 3.0)
|
60
|
+
diff-lcs (1.2.4)
|
61
|
+
erubis (2.7.0)
|
62
|
+
ffi (1.8.1)
|
63
|
+
gherkin (2.12.0)
|
64
|
+
multi_json (~> 1.3)
|
65
|
+
hike (1.2.2)
|
66
|
+
i18n (0.6.1)
|
67
|
+
journey (1.0.4)
|
68
|
+
json (1.8.0)
|
69
|
+
mail (2.5.4)
|
70
|
+
mime-types (~> 1.16)
|
71
|
+
treetop (~> 1.4.8)
|
72
|
+
mime-types (1.23)
|
73
|
+
multi_json (1.7.5)
|
74
|
+
nokogiri (1.5.9)
|
75
|
+
polyglot (0.3.3)
|
76
|
+
rack (1.4.5)
|
77
|
+
rack-cache (1.2)
|
78
|
+
rack (>= 0.4)
|
79
|
+
rack-ssl (1.3.3)
|
80
|
+
rack
|
81
|
+
rack-test (0.6.2)
|
82
|
+
rack (>= 1.0)
|
83
|
+
rails (3.2.13)
|
84
|
+
actionmailer (= 3.2.13)
|
85
|
+
actionpack (= 3.2.13)
|
86
|
+
activerecord (= 3.2.13)
|
87
|
+
activeresource (= 3.2.13)
|
88
|
+
activesupport (= 3.2.13)
|
89
|
+
bundler (~> 1.0)
|
90
|
+
railties (= 3.2.13)
|
91
|
+
railties (3.2.13)
|
92
|
+
actionpack (= 3.2.13)
|
93
|
+
activesupport (= 3.2.13)
|
94
|
+
rack-ssl (~> 1.3.2)
|
95
|
+
rake (>= 0.8.7)
|
96
|
+
rdoc (~> 3.4)
|
97
|
+
thor (>= 0.14.6, < 2.0)
|
98
|
+
rake (10.0.4)
|
99
|
+
rdoc (3.12.2)
|
100
|
+
json (~> 1.4)
|
101
|
+
rubyzip (0.9.9)
|
102
|
+
selenium-webdriver (2.33.0)
|
103
|
+
childprocess (>= 0.2.5)
|
104
|
+
multi_json (~> 1.0)
|
105
|
+
rubyzip
|
106
|
+
websocket (~> 1.0.4)
|
107
|
+
sprockets (2.2.2)
|
108
|
+
hike (~> 1.2)
|
109
|
+
multi_json (~> 1.0)
|
110
|
+
rack (~> 1.0)
|
111
|
+
tilt (~> 1.1, != 1.3.0)
|
112
|
+
thor (0.18.1)
|
113
|
+
tilt (1.4.1)
|
114
|
+
treetop (1.4.12)
|
115
|
+
polyglot
|
116
|
+
polyglot (>= 0.3.1)
|
117
|
+
tzinfo (0.3.37)
|
118
|
+
websocket (1.0.7)
|
119
|
+
xpath (1.0.0)
|
120
|
+
nokogiri (~> 1.3)
|
121
|
+
|
122
|
+
PLATFORMS
|
123
|
+
ruby
|
124
|
+
|
125
|
+
DEPENDENCIES
|
126
|
+
spreewald!
|
data/Rakefile
CHANGED
@@ -30,7 +30,7 @@ namespace :tests do
|
|
30
30
|
desc "Bundle all test apps"
|
31
31
|
task :bundle do
|
32
32
|
for_each_directory_of('tests/**/Gemfile') do |directory|
|
33
|
-
system("cd #{directory} &&
|
33
|
+
system("cd #{directory} && bundle install")
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|
@@ -56,7 +56,10 @@ end
|
|
56
56
|
When /^I follow the (first|second|third)? ?link in the e?mail$/ do |index_in_words|
|
57
57
|
mail = @mail || ActionMailer::Base.deliveries.last
|
58
58
|
index = { nil => 0, 'first' => 0, 'second' => 1, 'third' => 2 }[index_in_words]
|
59
|
-
|
59
|
+
url_pattern = %r{(?:http|https)://[^/]+(.*)}
|
60
|
+
mail_body = MailFinder.email_text_body(mail).to_s
|
61
|
+
only_path = mail_body.sczan(url_pattern)[index][0]
|
62
|
+
visit only_path
|
60
63
|
end
|
61
64
|
|
62
65
|
Then /^no e?mail should have been sent$/ do
|
@@ -0,0 +1,104 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../..
|
3
|
+
specs:
|
4
|
+
spreewald (0.5.12)
|
5
|
+
capybara
|
6
|
+
cucumber
|
7
|
+
cucumber-rails
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
actionmailer (2.3.18)
|
13
|
+
actionpack (= 2.3.18)
|
14
|
+
actionpack (2.3.18)
|
15
|
+
activesupport (= 2.3.18)
|
16
|
+
rack (~> 1.1.0)
|
17
|
+
activerecord (2.3.18)
|
18
|
+
activesupport (= 2.3.18)
|
19
|
+
activerecord-mysql2-adapter (0.0.3)
|
20
|
+
mysql2
|
21
|
+
activeresource (2.3.18)
|
22
|
+
activesupport (= 2.3.18)
|
23
|
+
activesupport (2.3.18)
|
24
|
+
builder (3.2.2)
|
25
|
+
capybara (1.1.1)
|
26
|
+
mime-types (>= 1.16)
|
27
|
+
nokogiri (>= 1.3.3)
|
28
|
+
rack (>= 1.0.0)
|
29
|
+
rack-test (>= 0.5.4)
|
30
|
+
selenium-webdriver (~> 2.0)
|
31
|
+
xpath (~> 0.1.4)
|
32
|
+
childprocess (0.3.9)
|
33
|
+
ffi (~> 1.0, >= 1.0.11)
|
34
|
+
columnize (0.3.6)
|
35
|
+
cucumber (1.1.0)
|
36
|
+
builder (>= 2.1.2)
|
37
|
+
diff-lcs (>= 1.1.2)
|
38
|
+
gherkin (~> 2.5.0)
|
39
|
+
json (>= 1.4.6)
|
40
|
+
term-ansicolor (>= 1.0.6)
|
41
|
+
cucumber-rails (0.3.2)
|
42
|
+
cucumber (>= 0.8.0)
|
43
|
+
database_cleaner (1.0.1)
|
44
|
+
diff-lcs (1.2.4)
|
45
|
+
ffi (1.8.1)
|
46
|
+
gherkin (2.5.4)
|
47
|
+
json (>= 1.4.6)
|
48
|
+
haml (2.2.24)
|
49
|
+
json (1.8.0)
|
50
|
+
linecache (0.46)
|
51
|
+
rbx-require-relative (> 0.0.4)
|
52
|
+
mime-types (1.23)
|
53
|
+
multi_json (1.7.5)
|
54
|
+
mysql2 (0.2.18)
|
55
|
+
nokogiri (1.5.9)
|
56
|
+
rack (1.1.6)
|
57
|
+
rack-test (0.6.2)
|
58
|
+
rack (>= 1.0)
|
59
|
+
rails (2.3.18)
|
60
|
+
actionmailer (= 2.3.18)
|
61
|
+
actionpack (= 2.3.18)
|
62
|
+
activerecord (= 2.3.18)
|
63
|
+
activeresource (= 2.3.18)
|
64
|
+
activesupport (= 2.3.18)
|
65
|
+
rake (>= 0.8.3)
|
66
|
+
rake (10.0.4)
|
67
|
+
rbx-require-relative (0.0.9)
|
68
|
+
rspec (1.3.2)
|
69
|
+
rspec-rails (1.3.4)
|
70
|
+
rack (>= 1.0.0)
|
71
|
+
rspec (~> 1.3.1)
|
72
|
+
ruby-debug (0.10.4)
|
73
|
+
columnize (>= 0.1)
|
74
|
+
ruby-debug-base (~> 0.10.4.0)
|
75
|
+
ruby-debug-base (0.10.4)
|
76
|
+
linecache (>= 0.3)
|
77
|
+
rubyzip (0.9.9)
|
78
|
+
selenium-webdriver (2.33.0)
|
79
|
+
childprocess (>= 0.2.5)
|
80
|
+
multi_json (~> 1.0)
|
81
|
+
rubyzip
|
82
|
+
websocket (~> 1.0.4)
|
83
|
+
term-ansicolor (1.2.2)
|
84
|
+
tins (~> 0.8)
|
85
|
+
tins (0.8.0)
|
86
|
+
websocket (1.0.7)
|
87
|
+
xpath (0.1.4)
|
88
|
+
nokogiri (~> 1.3)
|
89
|
+
|
90
|
+
PLATFORMS
|
91
|
+
ruby
|
92
|
+
|
93
|
+
DEPENDENCIES
|
94
|
+
activerecord-mysql2-adapter
|
95
|
+
capybara (= 1.1.1)
|
96
|
+
cucumber (= 1.1.0)
|
97
|
+
cucumber-rails (= 0.3.2)
|
98
|
+
database_cleaner
|
99
|
+
haml (< 3)
|
100
|
+
mysql2 (~> 0.2.1)
|
101
|
+
rails (~> 2.3)
|
102
|
+
rspec-rails (~> 1.3)
|
103
|
+
ruby-debug
|
104
|
+
spreewald!
|
@@ -0,0 +1,162 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../..
|
3
|
+
specs:
|
4
|
+
spreewald (0.5.12)
|
5
|
+
capybara
|
6
|
+
cucumber
|
7
|
+
cucumber-rails
|
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
|
+
arel (3.0.2)
|
40
|
+
builder (3.0.4)
|
41
|
+
capybara (1.1.4)
|
42
|
+
mime-types (>= 1.16)
|
43
|
+
nokogiri (>= 1.3.3)
|
44
|
+
rack (>= 1.0.0)
|
45
|
+
rack-test (>= 0.5.4)
|
46
|
+
selenium-webdriver (~> 2.0)
|
47
|
+
xpath (~> 0.1.4)
|
48
|
+
childprocess (0.3.9)
|
49
|
+
ffi (~> 1.0, >= 1.0.11)
|
50
|
+
columnize (0.3.6)
|
51
|
+
cucumber (1.3.2)
|
52
|
+
builder (>= 2.1.2)
|
53
|
+
diff-lcs (>= 1.1.3)
|
54
|
+
gherkin (~> 2.12.0)
|
55
|
+
multi_json (~> 1.3)
|
56
|
+
cucumber-rails (1.3.1)
|
57
|
+
capybara (>= 1.1.2)
|
58
|
+
cucumber (>= 1.2.0)
|
59
|
+
nokogiri (>= 1.5.0)
|
60
|
+
rails (~> 3.0)
|
61
|
+
database_cleaner (1.0.1)
|
62
|
+
diff-lcs (1.2.4)
|
63
|
+
erubis (2.7.0)
|
64
|
+
ffi (1.8.1)
|
65
|
+
gherkin (2.12.0)
|
66
|
+
multi_json (~> 1.3)
|
67
|
+
haml (4.0.3)
|
68
|
+
tilt
|
69
|
+
haml-rails (0.4)
|
70
|
+
actionpack (>= 3.1, < 4.1)
|
71
|
+
activesupport (>= 3.1, < 4.1)
|
72
|
+
haml (>= 3.1, < 4.1)
|
73
|
+
railties (>= 3.1, < 4.1)
|
74
|
+
hike (1.2.2)
|
75
|
+
i18n (0.6.1)
|
76
|
+
journey (1.0.4)
|
77
|
+
json (1.8.0)
|
78
|
+
linecache (0.46)
|
79
|
+
rbx-require-relative (> 0.0.4)
|
80
|
+
mail (2.5.4)
|
81
|
+
mime-types (~> 1.16)
|
82
|
+
treetop (~> 1.4.8)
|
83
|
+
mime-types (1.23)
|
84
|
+
multi_json (1.7.5)
|
85
|
+
mysql2 (0.3.11)
|
86
|
+
nokogiri (1.5.9)
|
87
|
+
polyglot (0.3.3)
|
88
|
+
rack (1.4.5)
|
89
|
+
rack-cache (1.2)
|
90
|
+
rack (>= 0.4)
|
91
|
+
rack-ssl (1.3.3)
|
92
|
+
rack
|
93
|
+
rack-test (0.6.2)
|
94
|
+
rack (>= 1.0)
|
95
|
+
rails (3.2.13)
|
96
|
+
actionmailer (= 3.2.13)
|
97
|
+
actionpack (= 3.2.13)
|
98
|
+
activerecord (= 3.2.13)
|
99
|
+
activeresource (= 3.2.13)
|
100
|
+
activesupport (= 3.2.13)
|
101
|
+
bundler (~> 1.0)
|
102
|
+
railties (= 3.2.13)
|
103
|
+
railties (3.2.13)
|
104
|
+
actionpack (= 3.2.13)
|
105
|
+
activesupport (= 3.2.13)
|
106
|
+
rack-ssl (~> 1.3.2)
|
107
|
+
rake (>= 0.8.7)
|
108
|
+
rdoc (~> 3.4)
|
109
|
+
thor (>= 0.14.6, < 2.0)
|
110
|
+
rake (10.0.4)
|
111
|
+
rbx-require-relative (0.0.9)
|
112
|
+
rdoc (3.12.2)
|
113
|
+
json (~> 1.4)
|
114
|
+
rspec-core (2.13.1)
|
115
|
+
rspec-expectations (2.13.0)
|
116
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
117
|
+
rspec-mocks (2.13.1)
|
118
|
+
rspec-rails (2.13.2)
|
119
|
+
actionpack (>= 3.0)
|
120
|
+
activesupport (>= 3.0)
|
121
|
+
railties (>= 3.0)
|
122
|
+
rspec-core (~> 2.13.0)
|
123
|
+
rspec-expectations (~> 2.13.0)
|
124
|
+
rspec-mocks (~> 2.13.0)
|
125
|
+
ruby-debug (0.10.4)
|
126
|
+
columnize (>= 0.1)
|
127
|
+
ruby-debug-base (~> 0.10.4.0)
|
128
|
+
ruby-debug-base (0.10.4)
|
129
|
+
linecache (>= 0.3)
|
130
|
+
rubyzip (0.9.9)
|
131
|
+
selenium-webdriver (2.33.0)
|
132
|
+
childprocess (>= 0.2.5)
|
133
|
+
multi_json (~> 1.0)
|
134
|
+
rubyzip
|
135
|
+
websocket (~> 1.0.4)
|
136
|
+
sprockets (2.2.2)
|
137
|
+
hike (~> 1.2)
|
138
|
+
multi_json (~> 1.0)
|
139
|
+
rack (~> 1.0)
|
140
|
+
tilt (~> 1.1, != 1.3.0)
|
141
|
+
thor (0.18.1)
|
142
|
+
tilt (1.4.1)
|
143
|
+
treetop (1.4.12)
|
144
|
+
polyglot
|
145
|
+
polyglot (>= 0.3.1)
|
146
|
+
tzinfo (0.3.37)
|
147
|
+
websocket (1.0.7)
|
148
|
+
xpath (0.1.4)
|
149
|
+
nokogiri (~> 1.3)
|
150
|
+
|
151
|
+
PLATFORMS
|
152
|
+
ruby
|
153
|
+
|
154
|
+
DEPENDENCIES
|
155
|
+
capybara (~> 1)
|
156
|
+
database_cleaner
|
157
|
+
haml-rails
|
158
|
+
mysql2
|
159
|
+
rails (~> 3.2)
|
160
|
+
rspec-rails
|
161
|
+
ruby-debug
|
162
|
+
spreewald!
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spreewald
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 12
|
10
|
+
version: 0.5.12
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tobias Kraze
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-
|
18
|
+
date: 2013-06-03 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -72,6 +72,7 @@ extra_rdoc_files: []
|
|
72
72
|
files:
|
73
73
|
- .gitignore
|
74
74
|
- Gemfile
|
75
|
+
- Gemfile.lock
|
75
76
|
- LICENSE
|
76
77
|
- README.md
|
77
78
|
- Rakefile
|
@@ -94,6 +95,7 @@ files:
|
|
94
95
|
- spreewald.gemspec
|
95
96
|
- support/documentation_generator.rb
|
96
97
|
- tests/rails-2.3/Gemfile
|
98
|
+
- tests/rails-2.3/Gemfile.lock
|
97
99
|
- tests/rails-2.3/Rakefile
|
98
100
|
- tests/rails-2.3/config/boot.rb
|
99
101
|
- tests/rails-2.3/config/database.yml
|
@@ -112,6 +114,7 @@ files:
|
|
112
114
|
- tests/rails-2.3/scripts/generate
|
113
115
|
- tests/rails-3.2/.DS_Store
|
114
116
|
- tests/rails-3.2/Gemfile
|
117
|
+
- tests/rails-3.2/Gemfile.lock
|
115
118
|
- tests/rails-3.2/Rakefile
|
116
119
|
- tests/rails-3.2/config/application.rb
|
117
120
|
- tests/rails-3.2/config/boot.rb
|