merge complete

This commit is contained in:
maxwell 2010-10-29 11:33:31 -07:00
parent 39f66cc5d9
commit 23db4fe278

View file

@ -47,8 +47,6 @@ describe EMWebfinger do
EMWebfinger.new('eviljoe@diaspora.local:3000') EMWebfinger.new('eviljoe@diaspora.local:3000')
}.should raise_error(RuntimeError, "Identifier is invalid") }.should raise_error(RuntimeError, "Identifier is invalid")
end end
proc{EMWebfinger.new("asfadfasdf")}.should raise_error
end
end end
@ -59,6 +57,7 @@ describe EMWebfinger do
n.on_person{|person| puts "foo"} n.on_person{|person| puts "foo"}
n.instance_variable_get(:@callbacks).count.should be 1 n.instance_variable_get(:@callbacks).count.should be 1
end
it 'should not blow up if the returned xrd is nil' do it 'should not blow up if the returned xrd is nil' do
http = FakeHttpRequest.new(:success) http = FakeHttpRequest.new(:success)
@ -72,7 +71,6 @@ describe EMWebfinger do
} }
end end
end end
end
describe '#fetch' do describe '#fetch' do
it 'should require a callback' do it 'should require a callback' do
@ -136,5 +134,5 @@ describe EMWebfinger do
} }
end end
end end
end
end end