html_validation 1.1.0 → 1.1.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: 16841ce4c4a97f2e7e43df68c179c705d7c409a1
4
- data.tar.gz: 4e2d18c9de31d6ae7a7661b718cb1846b61204b4
3
+ metadata.gz: dfa97373ec7e45112365ab10ab9a38ce52bfa6c3
4
+ data.tar.gz: f881191aa0c53e54cce39f7c3eb81f037859f7c6
5
5
  SHA512:
6
- metadata.gz: 64c6c31360e9137adf41e1144ff96719acdbe7d02be336c43003b66b8878b965a3e2a44c211cf363868e7536cff83d67fdf4a248ac8d2bd882dece40be1bd954
7
- data.tar.gz: aaabae9bb5e3fe2a328ddc96a694b2b9de26c3a068acd01ac847e9d3c84bb7598dd52123d1866baf5ab16e8387f4167d0dd7b50ed48526d2333f03354211cc5a
6
+ metadata.gz: 2358e42fef37c207e48ca41d1a361b52b8235800fd4fdea08c3ecb799b7ef6610069b7a641dbb836f1ba1c6ff7df3ef521873f48bc9382f82c1cfd0d356114f1
7
+ data.tar.gz: 0adb92e7cf893bd0b3acfb41cdff424f1cf249aaa67621f50ca1e02ac561b78a6f09110352c5bfa1e8fd33a31a5c7d72562613095f388e86c5d4c74cf1a5365c
@@ -21,7 +21,7 @@ module PageValidations
21
21
  end
22
22
 
23
23
  def description
24
- "Have valid html"
24
+ "have valid HTML"
25
25
  end
26
26
 
27
27
  def failure_message_for_should
@@ -1,3 +1,3 @@
1
1
  module PageValidations
2
- HTML_VALIDATOR_VERSION = "1.1.0"
2
+ HTML_VALIDATOR_VERSION = "1.1.1"
3
3
  end
@@ -9,7 +9,7 @@ describe "HTMLValidationRSpecMatcher" do
9
9
  @page = double("page")
10
10
  end
11
11
 
12
- it "should check page object with the matcher for valid HTML and pass valid html" do
12
+ it "should check page object with the matcher for valid HTML and pass valid HTML" do
13
13
  @page.stub :html => good_html
14
14
  @page.stub :body => good_html
15
15
  @page.stub :current_url => 'http://www.fake.com/good_page'
@@ -9,15 +9,15 @@ describe "HTMLValidation" do
9
9
  @h = HTMLValidation.new('/tmp/validation')
10
10
  end
11
11
 
12
- it "should return false for invalid html" do
12
+ it "should return false for invalid HTML" do
13
13
  result = @h.validation(bad_html, "http://myothersite.com").valid?.should be_false
14
14
  end
15
15
 
16
- it "should return true for valid html" do
16
+ it "should return true for valid HTML" do
17
17
  result = @h.validation(good_html, "http://mysite.com").valid?.should be_true
18
18
  end
19
19
 
20
- it "should have an exception string for invalid html" do
20
+ it "should have an exception string for invalid HTML" do
21
21
  result = @h.validation(bad_html, "http://myfavoritesite.com")
22
22
  (result.exceptions.empty?).should be_false
23
23
  end
@@ -48,7 +48,7 @@ describe "HTMLValidation" do
48
48
  result.valid?.should be_true
49
49
  end
50
50
 
51
- it "should reset accepted exceptions string after seeing valid html for a path" do
51
+ it "should reset accepted exceptions string after seeing valid HTML for a path" do
52
52
  result = @h.validation(bad_html, "http://notmysite.com")
53
53
  result.accept!
54
54
  result = @h.validation(bad_html, "http://notmysite.com").valid?.should be_true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html_validation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Beland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-21 00:00:00.000000000 Z
11
+ date: 2014-05-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: HTML Validation lets you validate html locally. Lets you build html validation
14
14
  into your test suite, but break the rules if you must.