dummy_performance_tests 0.9 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
data/README.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# Dummy performance tests
|
2
2
|
|
3
|
-
"Dummy performance tests" uses the routes generated by dummy\_routes
|
3
|
+
"Dummy performance tests" uses the routes generated by [dummy\_routes](http://github.com/goncalossilva/dummy_routes) to generate performance tests for your Rails 3 application.
|
4
4
|
|
5
5
|
## Description
|
6
6
|
|
7
|
-
"Dummy performance tests" generates performance tests for your Rails applications. It depends on the test routes generated by dummy\_routes
|
7
|
+
"Dummy performance tests" generates performance tests for your Rails applications. It depends on the test routes generated by [dummy\_routes](http://github.com/goncalossilva/dummy_routes)
|
8
8
|
|
9
9
|
## Installation
|
10
10
|
|
@@ -4,7 +4,7 @@ require 'rails/performance_test_help'
|
|
4
4
|
class <%= @model_name.camelcase %>Test < ActionDispatch::PerformanceTest
|
5
5
|
<% @routes.each do |request, data| %>
|
6
6
|
def test_<%= request %>
|
7
|
-
<%= data["type"] %>_via_redirect "<%= data['url'] %>"<%= (", " + data["params"].
|
7
|
+
<%= data["type"] %>_via_redirect "<%= data['url'] %>"<%= (", " + data["params"].inspect) if data["params"] %>
|
8
8
|
end
|
9
9
|
<% end %>
|
10
10
|
end
|
metadata
CHANGED
@@ -5,7 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 9
|
8
|
-
|
8
|
+
- 1
|
9
|
+
version: 0.9.1
|
9
10
|
platform: ruby
|
10
11
|
authors:
|
11
12
|
- "Gon\xC3\xA7alo Silva"
|
@@ -13,7 +14,7 @@ autorequire:
|
|
13
14
|
bindir: bin
|
14
15
|
cert_chain: []
|
15
16
|
|
16
|
-
date: 2010-08-
|
17
|
+
date: 2010-08-23 00:00:00 +01:00
|
17
18
|
default_executable:
|
18
19
|
dependencies:
|
19
20
|
- !ruby/object:Gem::Dependency
|