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