Sha256: f13685e23021404d0dc8aa1e5e6530ba046ce507cf6f3a4ca7a8f5e4caf0fa4a
Contents?: true
Size: 412 Bytes
Versions: 2
Compression:
Stored size: 412 Bytes
Contents
require 'spec_helper' describe LetsFreckle::Tag do context "#all" do it "should return all tags" do LetsFreckle.configure do username "username" account_host "host" token "secret" end stub_api_request('tags') tags = LetsFreckle::Tag.all tags.size.should == 2 first_tag = tags.first first_tag.name.should == 'test tag 1' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
letsfreckle-client-0.2.1 | spec/letsfreckle/tag_spec.rb |
letsfreckle-client-0.2.0 | spec/letsfreckle/tag_spec.rb |