fluoride-analyzer 0.0.5 → 0.0.6
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 +4 -4
- data/default_config/templates/request_spec.erb +24 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82402eb98a6c73825908b02e9972ee4b9a8ec764
|
4
|
+
data.tar.gz: a3b900e73b4ae9beb61d5457e63b8a8e0439ed0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8960643a17b016e59cd05ccf63429588a9870d8c054ab527a7613ba31081b508bd3842acccda82788d2f343fa65110770dc59af134d4a0a611d6780a70cb796
|
7
|
+
data.tar.gz: d5826722e9542381255a5bf6779e280ff3070dec02c70f4abee7f0130e02f02efc61beae6b98fd9886a4f8fa738ad0734d9fa2250abe4518a1765d29eb2dec69
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe '<%= pattern %>' do
|
4
|
+
<% param_fields.each do |field| %>
|
5
|
+
let :<%= field %> do
|
6
|
+
FactoryGirl.create(:<%= field %>).id
|
7
|
+
end
|
8
|
+
<%end%>
|
9
|
+
<% each_status_group do |group| %>
|
10
|
+
|
11
|
+
# HTTP status code: <%= group.status_code %> <%= group.status_description %>
|
12
|
+
# <%= group.request_count %> cases recorded by Fluoride
|
13
|
+
# See example: '<%= group.example_source %>'
|
14
|
+
# example path: <%= group.example_path %>
|
15
|
+
describe '<%= group.request_spec_description %>' do
|
16
|
+
it "should <%= group.should_what %>" do
|
17
|
+
<%= group.test_request(6) %>
|
18
|
+
<% group.test_result.each do |test_result_line| %>
|
19
|
+
<%= test_result_line %>
|
20
|
+
<% end %>
|
21
|
+
end
|
22
|
+
end
|
23
|
+
<%end%>
|
24
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluoride-analyzer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Judson Lester
|
@@ -67,6 +67,7 @@ files:
|
|
67
67
|
- lib/fluoride-analyzer/pattern-context.rb
|
68
68
|
- lib/fluoride-analyzer/exchange-result.rb
|
69
69
|
- lib/fluoride-analyzer.rb
|
70
|
+
- default_config/templates/request_spec.erb
|
70
71
|
- spec/result-templater.rb
|
71
72
|
- spec/railtie_spec.rb
|
72
73
|
- spec/result-parser.rb
|
@@ -81,7 +82,7 @@ rdoc_options:
|
|
81
82
|
- --main
|
82
83
|
- doc/README
|
83
84
|
- --title
|
84
|
-
- fluoride-analyzer-0.0.
|
85
|
+
- fluoride-analyzer-0.0.6 Documentation
|
85
86
|
require_paths:
|
86
87
|
- lib/
|
87
88
|
required_ruby_version: !ruby/object:Gem::Requirement
|