relevance-tarantula 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml
CHANGED
@@ -3,6 +3,12 @@ require File.join(File.dirname(__FILE__), "..", "..", "example_helper.rb")
|
|
3
3
|
describe "Relevance::Tarantula::Link" do
|
4
4
|
include ActionView::Helpers::UrlHelper
|
5
5
|
|
6
|
+
it "does not raise an error when initializing without href attribtue" do
|
7
|
+
link = Relevance::Tarantula::Link.new(Hpricot('<a="/foo">foo</a>').at('a'))
|
8
|
+
link.href.should == nil
|
9
|
+
link.method.should == :get
|
10
|
+
end
|
11
|
+
|
6
12
|
it "parses anchor tags" do
|
7
13
|
link = Relevance::Tarantula::Link.new(Hpricot('<a href="/foo">foo</a>').at('a'))
|
8
14
|
link.href.should == '/foo'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relevance-tarantula
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Relevance, Inc.
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-01-
|
12
|
+
date: 2009-01-25 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|