fluoride-analyzer 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de88b08f9d2f47c4dd5f59af31194ff684a42c3d
4
- data.tar.gz: 9090d655a4ab8244c27de066751f8504b37cadbe
3
+ metadata.gz: 82402eb98a6c73825908b02e9972ee4b9a8ec764
4
+ data.tar.gz: a3b900e73b4ae9beb61d5457e63b8a8e0439ed0e
5
5
  SHA512:
6
- metadata.gz: 865696c0d60c0404a511950a5a3e6e00e020aaa45794c6dd31b7ff9322d769fb6c40ad0fcc7e79a77f062329adad7ca5db57e6928bedbce03a6b44ff7ff918cd
7
- data.tar.gz: 780f4e38eafd52e8909bba767ae31566c52d6a91ba24f896c5f0a7e8403411a3ad6511cc04d4a079ff18bcb49297d69a7ae703b4c9de214ab6bba0ede243e780
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.5
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.5 Documentation
85
+ - fluoride-analyzer-0.0.6 Documentation
85
86
  require_paths:
86
87
  - lib/
87
88
  required_ruby_version: !ruby/object:Gem::Requirement