Sha256: 2893087231461f7fc624690698698bc028b910a055d8408835c603cdb8417ac0
Contents?: true
Size: 685 Bytes
Versions: 6
Compression:
Stored size: 685 Bytes
Contents
require 'spec_helper' describe Resttestrail.config do it "returns a Resttestrail::Config object" do expect(Resttestrail.config).to be_a(Resttestrail::Config) end it "returns the same config object" do config1 = Resttestrail.config config2 = Resttestrail.config expect(config2).to eq config1 end end describe Resttestrail::Config do it "has the right configurations" do config = Resttestrail::Config.new expect{ config.host }.not_to raise_error expect{ config.port }.not_to raise_error expect{ config.username }.not_to raise_error expect{ config.password }.not_to raise_error expect{ config.project_id }.not_to raise_error end end
Version data entries
6 entries across 6 versions & 1 rubygems