Sha256: f09b175907f6a4d541a3044adece220599ce59b1193ed9b42556d310920f111b
Contents?: true
Size: 539 Bytes
Versions: 1
Compression:
Stored size: 539 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 expect(AirbrakeAPI::Project.collection_path).to eq("/data_api/v1/projects.xml") end it "should find projects" do projects = AirbrakeAPI::Project.find(:all) expect(projects.size).to eq(4) expect(projects.first.id).to eq('1') expect(projects.first.name).to eq('Venkman') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
airbrake-api-4.6.1 | spec/airbrake_api/project_spec.rb |