Sha256: e058f82ff084c6c37b80feb5385a7f0c7a7fa200918cf7f5be9847e52e932ec6
Contents?: true
Size: 468 Bytes
Versions: 24
Compression:
Stored size: 468 Bytes
Contents
require 'rubygems' require 'rest_connection' require 'spec' require 'ruby-debug' describe Tag, "tags" do it "a server" do mytags = ["provides:rs_blah=blah"] search = ["provides:rs_blah"] #mytags = ["blah", "blah2"] s = Server.find(:first) t = Tag.set(s.href, mytags) t.response.code.should == "204" f = Tag.search("server", mytags) f.size.should > 0 t2 = Tag.unset(s.href, mytags) t2.response.code.should == "204" end end
Version data entries
24 entries across 24 versions & 1 rubygems