Sha256: 6dca4240c4eda8b0f471f18e0a08d6da3b593dc21ecceef2871063ee80ca8b8d
Contents?: true
Size: 558 Bytes
Versions: 2
Compression:
Stored size: 558 Bytes
Contents
require "spec_helper" RSpec.describe Veeqo::Company do describe ".find" do it "retrieves the current company" do stub_veeqo_company_find_api company = Veeqo::Company.find expect(company.name).not_to be_nil end end describe ".update" do it "updates the current company with new attributes" do new_attributes = { name: "ACME" } stub_veeqo_company_update_api(new_attributes) company_update = Veeqo::Company.update(new_attributes) expect(company_update.successful?).to be_truthy end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
veeqo-0.1.1 | spec/veeqo/company_spec.rb |
veeqo-0.1.0 | spec/veeqo/company_spec.rb |