state_machines_rspec 0.3.0 → 0.3.1
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.md +7 -7
- data/lib/state_machines_rspec/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7fd614884effeb611b00c4c23e633229d09b21c
|
4
|
+
data.tar.gz: 1fa0f58c1e378c812b7531933b60b9734fc91971
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7aa6c9b2b35747c26655473bab8bd88ebb52bf4b1383894bbcc12d2f257143bb36870c139a9128fd55d372a7d5d6979c996f4c4fbce4e4ad5ff54eb9508fde17
|
7
|
+
data.tar.gz: 07dca8e68ebd5ae9ac63ad1aa5193392b110147b1d430f8b359e44e1d0d3220db0700c6bd9f1f2b9d98a87d141c47df2876ccae2d628629500cdb2a8d6351e8b
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
#
|
1
|
+
# state_machines_rspec
|
2
2
|
|
3
|
-
[](https://travis-ci.org/modocache/state_machine_rspec)
|
4
3
|
|
5
|
-
Custom matchers for [
|
4
|
+
Custom matchers for [state-machines/state_machine](https://github.com/state-machines/state_machine).
|
5
|
+
Forked from [pluginaweek/state_machine](https://github.com/pluginaweek/state_machine).
|
6
6
|
|
7
7
|
|
8
8
|
## Matchers
|
@@ -37,18 +37,18 @@ end
|
|
37
37
|
## Installation
|
38
38
|
|
39
39
|
Add these lines to your application's Gemfile:
|
40
|
-
|
40
|
+
(Note that the orginal state_machine_rspec used state_machine singular and I'm using state_machines plural to fit in with state-machines/state_machines)
|
41
41
|
```ruby
|
42
42
|
group :test do
|
43
|
-
gem '
|
43
|
+
gem 'state_machines_rspec'
|
44
44
|
end
|
45
45
|
```
|
46
46
|
|
47
|
-
And include the matchers in `spec/spec_helper.rb
|
47
|
+
And include the matchers in `spec/spec_helper.rb` or `spec/rails_helper.rb`
|
48
48
|
|
49
49
|
```ruby
|
50
50
|
RSpec.configure do |config|
|
51
|
-
config.include
|
51
|
+
config.include StateMachinesRspec::Matchers
|
52
52
|
end
|
53
53
|
```
|
54
54
|
|