rspec_pretty_status 0.1.1 → 0.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c35e992349aa583338c636b0de03c4f95acd0e35a54239673cc46edd255427ab
4
- data.tar.gz: d91c4e12d6201d43c69d9b3598ea0352352e35527546e3514abcdd6f43f51697
3
+ metadata.gz: 7c5afb7842bd0dc360e3d277aa616986bbf1f2c237fdca2bf5814655569342ec
4
+ data.tar.gz: c4a1d53d5027e8cbc5087eb1382a5aa4be804700dbba9cb7ed383b6e040ce45f
5
5
  SHA512:
6
- metadata.gz: 41090831c97f48192ac538fcdb9946875e7bbd793d9226cb8a7d0da43643686ae0dc670cc5eb3a1b7f90f33292aa041461214865cebb1f1c11ecae0a3661407b
7
- data.tar.gz: d3e5ba7a40409c02024657aef7d6cdc831432de044398b1555778302675851e7ff093e0c1cc482f6b67330d3c6e5f36bfc7bd281993cf094bc9f91bbf00c86ae
6
+ metadata.gz: cb1fa0e68681b4f392b56ee21f8ef7a966bbafb52828942299fbaeeadfaf328824542eebce67ac3be1789e9fe78f6b1865a8fe458a3dc41d19f211de21085a39
7
+ data.tar.gz: de1c060be2a4abb23bedb8a36cf6973e9d6f9e62fa6efd04e1fcef158696670361a505b09295dc295926e5edc5d3606eccaadb25ac6de60505d407aaa76ab81a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rspec_pretty_status (0.1.1)
4
+ rspec_pretty_status (0.1.2)
5
5
  rspec
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Rspec::Pretty::Status
1
+ # RspecPrettyStatus
2
2
 
3
3
  Pretty controller specs with rails statuses in pure rspec.
4
4
 
@@ -16,14 +16,16 @@ And then execute:
16
16
 
17
17
  Or install it yourself as:
18
18
 
19
- $ gem install rspec-pretty-status
19
+ $ gem install rspec_pretty_status
20
20
 
21
21
 
22
22
  Then include in RSpec:
23
23
 
24
24
  ```ruby
25
+ require 'rspec_pretty_status'
26
+
25
27
  RSpec.configure do |config|
26
- config.include RSpec::Pretty::Status
28
+ config.include RSpecPrettyStatus
27
29
  end
28
30
  ```
29
31
  ## Usage
@@ -36,7 +38,7 @@ it { expect(response).to have_http_status(:ok) }
36
38
 
37
39
  ## Contributing
38
40
 
39
- Bug reports and pull requests are welcome on GitHub at https://github.com/Ar2emis/rspec-pretty-status.
41
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Ar2emis/rspec_pretty_status.
40
42
 
41
43
 
42
44
  ## License
@@ -62,7 +62,7 @@ module RSpecPrettyStatus
62
62
  INVERTED_STATUSES = STATUSES.invert
63
63
 
64
64
  def error_message(actual_status, expected_status)
65
- "expected that status will be #{actual_status} but have #{expected_status}"
65
+ "expected that status will be #{expected_status} but have #{actual_status}"
66
66
  end
67
67
 
68
68
  def error_message_when_negated(actual_status)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RSpecPrettyStatus
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_pretty_status
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artem Shevchenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-13 00:00:00.000000000 Z
11
+ date: 2021-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lefthook