email_test_helpers 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a2c691b7fc2a7fa4f0eea18ac2d73f1ecdd670ac
4
- data.tar.gz: 9cbed2b7a962e2f4d46fa88080814f64e01c981a
3
+ metadata.gz: 654b80f4aa310ed98c2cbbf94336b21b1d704018
4
+ data.tar.gz: 36f7092499277fa4fa3dedb7a87ec8020db12a19
5
5
  SHA512:
6
- metadata.gz: a98e9f6a5086813d98673ed6cdbcbf286caab4e1df1d6b310714eadbca606b89eebfc6df2edb18b873120f91958df9b0701dd964a9999942e5cd7036e37561a9
7
- data.tar.gz: a9d82b900264a337e26c0605dffaaa501d7dc8da07d21bd183ce9ae0c4c7dcbaae42a7f2601a93352139f66b10107305937c67dbfb2b42660765c3703787822b
6
+ metadata.gz: d57594eae5c8072b92347089923dbba57352d7718f5b97762af53d25ded040f792fc4d513b5f868f959ae232bb8034291b23c38134d3db68a238a6e18a02ddd8
7
+ data.tar.gz: 17692ced71dd7d8328c6d480415a96eb21890c461d8c6f38fa087954f26ce7e1179a4e9444a256ddb176aa435b1d25fda8d5c6808b7697f2d45511059c6514a9
data/.gitignore CHANGED
@@ -1,4 +1,5 @@
1
1
  /.bundle/
2
+ /.relish
2
3
  /.yardoc
3
4
  /Gemfile.lock
4
5
  /_yardoc/
data/README.md CHANGED
@@ -10,32 +10,6 @@ Simple acceptance test helpers for emails
10
10
  * Find emails with optional criteria: recipient (to, cc, bcc), subject, body
11
11
  * Click links in emails
12
12
 
13
- ## Installation
14
-
15
- Add this line to your application's Gemfile:
16
-
17
- ```ruby
18
- gem 'email_test_helpers', group: :test
19
- ```
20
-
21
- And then execute:
22
-
23
- $ bundle
24
-
25
- Or install it yourself as:
26
-
27
- $ gem install email_test_helpers
28
-
29
- Load it in your test library of choice, eg:
30
-
31
- # spec/support/email_test_helpers.rb
32
- RSpec.configure do |config|
33
- config.include EmailTestHelpers
34
- end
35
-
36
- # features/support/email_test_helpers.rb
37
- World(EmailTestHelpers)
38
-
39
13
  ## Usage
40
14
 
41
15
  Main methods are:
@@ -61,6 +35,30 @@ For example, to assert an email confirmation was sent and click the confirmation
61
35
 
62
36
  See specs and features for more details.
63
37
 
38
+ ## Installation
39
+
40
+ Add this line to your application's Gemfile:
41
+
42
+ ```ruby
43
+ gem 'email_test_helpers', group: :test, require: false
44
+ ```
45
+
46
+ Load it in your test library of choice, eg:
47
+
48
+ ### Cucumber
49
+
50
+ ```ruby
51
+ # features/support/email_test_helpers.rb
52
+ require 'email_test_helpers/cucumber'
53
+ ```
54
+
55
+ ### RSpec
56
+
57
+ ```ruby
58
+ # spec/support/email_test_helpers.rb
59
+ require 'email_test_helpers/rspec'
60
+ ```
61
+
64
62
  ## Licence
65
63
 
66
64
  MIT Licence
@@ -0,0 +1,3 @@
1
+ require 'email_test_helpers'
2
+
3
+ World EmailTestHelpers
@@ -0,0 +1,5 @@
1
+ require 'email_test_helpers'
2
+
3
+ RSpec.configure do |config|
4
+ config.include EmailTestHelpers, type: [:feature, :request]
5
+ end
@@ -1,3 +1,3 @@
1
1
  module EmailTestHelpers
2
- VERSION = '0.3.3'
2
+ VERSION = '0.3.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: email_test_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zubin Henner
@@ -170,6 +170,8 @@ files:
170
170
  - gemfiles/actionmailer_4.2.0_capybara_1.0.0.gemfile
171
171
  - gemfiles/actionmailer_4.2.0_capybara_2.4.0.gemfile
172
172
  - lib/email_test_helpers.rb
173
+ - lib/email_test_helpers/cucumber.rb
174
+ - lib/email_test_helpers/rspec.rb
173
175
  - lib/email_test_helpers/version.rb
174
176
  homepage: https://github.com/zubin/email_test_helpers
175
177
  licenses: