Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nginx-push-stream-module
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
nginx-push-stream-module
Commits
cef7f302
Commit
cef7f302
authored
Sep 07, 2011
by
Wandenberg Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix time format on If-Modified-Since test
parent
31c5d1b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
test_subscriber.rb
test/test_subscriber.rb
+3
-4
No files found.
test/test_subscriber.rb
View file @
cef7f302
require
File
.
expand_path
(
'base_test_case'
,
File
.
dirname
(
__FILE__
))
class
Test
Publish
er
<
Test
::
Unit
::
TestCase
class
Test
Subscrib
er
<
Test
::
Unit
::
TestCase
include
BaseTestCase
def
config_test_accepted_methods
...
...
@@ -506,7 +506,7 @@ class TestPublisher < Test::Unit::TestCase
t
=
Time
.
now
t
=
t
-
20
headers
=
headers
.
merge
({
'If-Modified-Since'
=>
t
.
utc
.
strftime
(
"%a, %
e
%b %Y %T %Z"
)})
headers
=
headers
.
merge
({
'If-Modified-Since'
=>
t
.
utc
.
strftime
(
"%a, %
d
%b %Y %T %Z"
)})
response
=
""
EventMachine
.
run
{
...
...
@@ -573,7 +573,7 @@ class TestPublisher < Test::Unit::TestCase
t
=
Time
.
now
t
=
t
-
20
headers
=
headers
.
merge
({
'If-Modified-Since'
=>
t
.
utc
.
strftime
(
"%a, %
e
%b %Y %T %Z"
)})
headers
=
headers
.
merge
({
'If-Modified-Since'
=>
t
.
utc
.
strftime
(
"%a, %
d
%b %Y %T %Z"
)})
response
=
""
EventMachine
.
run
{
...
...
@@ -892,5 +892,4 @@ class TestPublisher < Test::Unit::TestCase
add_test_timeout
}
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment