Sha256: ca5c4c61db850871bceeef879ee42e24b3123360202ec5f7ab5d73e45b3aefc0
Contents?: true
Size: 519 Bytes
Versions: 18
Compression:
Stored size: 519 Bytes
Contents
require 'spec_helper' describe AirbrakeAPI::Project do before(:all) do AirbrakeAPI.account = 'myapp' AirbrakeAPI.auth_token = 'abcdefg123456' AirbrakeAPI.secure = false end it "should have correct projects path" do AirbrakeAPI::Project.collection_path.should == "/data_api/v1/projects.xml" end it "should find projects" do projects = AirbrakeAPI::Project.find(:all) projects.size.should == 4 projects.first.id.should == '1' projects.first.name.should == 'Venkman' end end
Version data entries
18 entries across 18 versions & 1 rubygems