sms-spec 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.markdown +7 -7
- data/lib/sms_spec/drivers/twilio-ruby.rb +2 -2
- data/lib/sms_spec/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9d039991d3a1759b0f0530d9305489ab982cc651
|
|
4
|
+
data.tar.gz: 734d77de958a547d05d2486a1e4c3e826280ac0d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4ae795ca965b92d97dfafec969166ca4edacf1d857104404a57d60ff74d71250190dfda95c6ace8d6b329b27afe8cfdb05f14ae6c33a0f68917ee1a9805ebd7b
|
|
7
|
+
data.tar.gz: 8f27175ec0afcfe3c4169d5fe0135b57d1e1241cc75b58bdb73ef11cb5d2dc87739e455c2b4ce85c1a97ca50e384864ccbd2dcf03b92f829b72f9a07a213a220
|
data/README.markdown
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
An RSpec DSL and Cucumber steps to test SMS interactions with your
|
|
4
4
|
Ruby on Rails application.
|
|
5
5
|
|
|
6
|
-
Currently this gem only supports testing SMS
|
|
6
|
+
Currently this gem only supports testing SMS messaging using the
|
|
7
7
|
[twilio-ruby](https://github.com/twilio/twilio-ruby) and
|
|
8
8
|
[lookout-clickatell](https://github.com/lookout/clickatell) gem.
|
|
9
9
|
|
|
@@ -16,10 +16,10 @@ end
|
|
|
16
16
|
</pre>
|
|
17
17
|
|
|
18
18
|
## RSpec
|
|
19
|
-
In your
|
|
19
|
+
In your spec_helper.rb file configure a driver and include helper and matcher methods.
|
|
20
20
|
|
|
21
21
|
<pre>
|
|
22
|
-
require '
|
|
22
|
+
require 'sms_spec'
|
|
23
23
|
|
|
24
24
|
Spec::Runner.configure do |config|
|
|
25
25
|
config.include(SmsSpec::Helpers)
|
|
@@ -33,12 +33,12 @@ SmsSpec.driver = :twilio-ruby #this can be any available sms-spec driver
|
|
|
33
33
|
Add the folloing to you env.rb file:
|
|
34
34
|
|
|
35
35
|
<pre>
|
|
36
|
-
require '
|
|
37
|
-
require '
|
|
36
|
+
require 'sms_spec'
|
|
37
|
+
require 'sms_spec/cucumber'
|
|
38
38
|
</pre>
|
|
39
39
|
|
|
40
|
-
This loads the
|
|
41
|
-
run the following to generate the
|
|
40
|
+
This loads the sms_spec RSpec helpers into your cucumber wold. Then,
|
|
41
|
+
run the following to generate the text_messsage_steps.rb file:
|
|
42
42
|
|
|
43
43
|
<pre>
|
|
44
44
|
rails generate sms_spec:steps
|
data/lib/sms_spec/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sms-spec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Rittersdorf
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-04-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
@@ -145,3 +145,4 @@ test_files:
|
|
|
145
145
|
- spec/helpers_spec.rb
|
|
146
146
|
- spec/matchers_spec.rb
|
|
147
147
|
- spec/spec_helper.rb
|
|
148
|
+
has_rdoc:
|