rspec-matchers-adhere_to_schema 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -7
- data/lib/rspec/matchers/adhere_to_schema/identity.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: 0fb34ee0bab8293de5d7b44feed47ec2ca5be0b4
|
4
|
+
data.tar.gz: ad1a65c80883accf2e8ead97cfc6b34f639c8e2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8b19c1d1b157406840da03783a6b7c121af2cd1e9d9e43e8f8cc330600cb56036819f03833be05514fe62718b2ada647b16475d517f4f07a08baeca51faea3f
|
7
|
+
data.tar.gz: ddd576b91223af5c3b782b80fcdaa11d02b3719c9f6b6c36a72bc250c3d845f8ccba5ab01e03986d8ea4a0e42ddf3a7da7c46cdb9bf06d3d3f551c9c77f1da10
|
data/README.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# RSpec Matcher `adhere_to_schema`
|
2
2
|
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/
|
4
|
-
[![Code Climate GPA](https://codeclimate.com/github//
|
5
|
-
[![Code Climate Coverage](https://codeclimate.com/github//
|
6
|
-
[![Gemnasium Status](https://gemnasium.com//
|
7
|
-
[![Travis CI Status](https://secure.travis-ci.org//
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/rspec-matchers-adhere_to_schema.svg)](http://badge.fury.io/rb/rspec-matchers-adhere_to_schema)
|
4
|
+
[![Code Climate GPA](https://codeclimate.com/github//rspec-matchers-adhere_to_schema.svg)](https://codeclimate.com/github/pekhee/rspec-matchers-adhere_to_schema)
|
5
|
+
[![Code Climate Coverage](https://codeclimate.com/github//rspec-matchers-adhere_to_schema/coverage.svg)](https://codeclimate.com/github/pekhee/rspec-matchers-adhere_to_schema)
|
6
|
+
[![Gemnasium Status](https://gemnasium.com//rspec-matchers-adhere_to_schema.svg)](https://gemnasium.com/pekhee/rspec-matchers-adhere_to_schema)
|
7
|
+
[![Travis CI Status](https://secure.travis-ci.org//rspec-matchers-adhere_to_schema.svg)](https://travis-ci.org/pekhee/rspec-matchers-adhere_to_schema)
|
8
8
|
|
9
9
|
<!-- Tocer[start]: Auto-generated, don't remove. -->
|
10
10
|
|
@@ -83,8 +83,8 @@ This gem is signed. Use pekhee.pem as public key.
|
|
83
83
|
end
|
84
84
|
|
85
85
|
it "adheres to user schema" do
|
86
|
-
expect(subject).to
|
87
|
-
expect(subject).to
|
86
|
+
expect(subject).to adhere_to_schema user_schema
|
87
|
+
expect(subject).to adhere_to_schema :user # spec/schemas/user.json
|
88
88
|
end
|
89
89
|
end
|
90
90
|
|