nginx_test_helper 0.4.0 → 0.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 78a4974a32a0e57c0f6dcdf50600c34045085665
4
- data.tar.gz: 012ca812a9689d695f1e39761aee4bd595f74eb3
3
+ metadata.gz: 58376a9b0561ae60632d2cff41ab8ed8ea812909
4
+ data.tar.gz: 42c2d22cf2034178d8ca2fc76d4846585987e659
5
5
  SHA512:
6
- metadata.gz: 08f2d07609dea934f5013edfc80bf259402fda0e67170913b4b4a73a7ec7cecaf17b8fc333f2083b43562f15156b86e7ed96af7f52e2316122f2d2956780db10
7
- data.tar.gz: 5d61fcb9ce455966da624bcb0833a4bd99c5febffe54b25d5a66a08e634528eecf1b6f3865f8d60ec5db08d28e367cbd6273d79aedba62b08f874e9350096966
6
+ metadata.gz: 8bfeff012bb7bc2fdfb1480a081fc20b3fc5573df9dabe32a1249e3bf1f25cef421ff0a6e8d8c6223f6ba1060f838d072ea36d3fc619087eaa7accf5b7d07836
7
+ data.tar.gz: 47966a24b31a27bde7b4b551c4e30279c1d4862a31162a0f1806379630bc87ff51d40af8516414fc5fc20422ebd0a3f140e6a34cf785d6844d8d861d654adf18
@@ -32,13 +32,15 @@ module NginxTestHelper
32
32
  self
33
33
  end
34
34
 
35
- def failure_message_for_should
35
+ def failure_message
36
36
  "expected that the '#{request.method}' to '#{request.uri}' to #{description}"
37
37
  end
38
+ alias :failure_message_for_should :failure_message
38
39
 
39
- def failure_message_for_should_not
40
+ def failure_message_when_negated
40
41
  "expected that the '#{request.method}' to '#{request.uri}' not to #{description}"
41
42
  end
43
+ alias :failure_message_for_should_not :failure_message_when_negated
42
44
 
43
45
  def description
44
46
  about_content = ""
@@ -1,3 +1,3 @@
1
1
  module NginxTestHelper
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nginx_test_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wandenberg Peixoto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-24 00:00:00.000000000 Z
11
+ date: 2015-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: popen4