Sha256: e1f98162f9b2403bf0f834810373cda02ee91d120034e51b9eb4d487b8464455
Contents?: true
Size: 578 Bytes
Versions: 12
Compression:
Stored size: 578 Bytes
Contents
# # api_spec.rb # ConstantContact # # Copyright (c) 2013 Constant Contact. All rights reserved. require 'spec_helper' describe ConstantContact::SDK do let(:dummy_class) { Class.new { include ConstantContact::SDK } } it "should respond to VERSION" do expect((dummy_class.const_get("VERSION") rescue nil)).to be_true end it "should have a VERSION of type string" do expect(dummy_class::VERSION).to be_a String end it "should have a VERSION of the format x.y.z" do expect(dummy_class::VERSION.match(/[1-9]+\.\d+\.\d+/)).to_not be_nil end end
Version data entries
12 entries across 12 versions & 2 rubygems