Sha256: 6f16dfd5d3160853667bea6f29468ef14460daab8ba0036c833d26feb20c2410
Contents?: true
Size: 605 Bytes
Versions: 7
Compression:
Stored size: 605 Bytes
Contents
require "rspec" require "spec_helper" require "chef_fixie" require "chef_fixie/config" RSpec.describe ChefFixie::Sql::Orgs, "Organizations access" do let (:test_org_name) { "ponyville" } let (:orgs) { ChefFixie::Sql::Orgs.new } let (:test_org) { orgs[test_org_name] } context "Basic functionality of org accessor" do it "Org has a name and id" do expect(test_org.name).to eq(test_org_name) expect(test_org.id).not_to be_nil end it "Org has a global admins group" do expect(test_org.global_admins.name).to eq(test_org_name + "_global_admins") end end end
Version data entries
7 entries across 7 versions & 2 rubygems