spreewald 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/spreewald/email_steps.rb +1 -1
- data/lib/spreewald_support/version.rb +1 -1
- metadata +3 -3
@@ -25,7 +25,7 @@ end
|
|
25
25
|
When /^I follow the (first|second|third)? ?link in the e?mail$/ do |index_in_words|
|
26
26
|
mail = @mail || ActionMailer::Base.deliveries.last
|
27
27
|
index = { nil => 0, 'first' => 0, 'second' => 1, 'third' => 2 }[index_in_words]
|
28
|
-
visit mail.body.scan(Patterns::URL)[index][2]
|
28
|
+
visit mail.body.to_s.scan(Patterns::URL)[index][2]
|
29
29
|
end
|
30
30
|
|
31
31
|
Then /^no e?mail should have been sent$/ do
|
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: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tobias Kraze
|