Sha256: ad672808de576acb3f4ac32d1f50f34a96dcdb8859bbad8007141492960917d9

Contents?: true

Size: 410 Bytes

Versions: 5

Compression:

Stored size: 410 Bytes

Contents

RSpec.describe Hubspot::Deprecator do
  describe ".build" do
    it "returns an instance of ActiveSupport::Deprecation" do
      deprecator = Hubspot::Deprecator.build

      expect(deprecator).to be_an_instance_of(ActiveSupport::Deprecation)
    end

    it "uses the correct gem name" do
      deprecator = Hubspot::Deprecator.build

      expect(deprecator.gem_name).to eq("hubspot-ruby")
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hubspot-ruby-0.9.0 spec/lib/hubspot/deprecator_spec.rb
hubspot-ruby-0.8.1 spec/lib/hubspot/deprecator_spec.rb
hubspot-ruby-0.8.0 spec/lib/hubspot/deprecator_spec.rb
hubspot-ruby-0.7.0 spec/lib/hubspot/deprecator_spec.rb
hubspot-ruby-0.6.1 spec/lib/hubspot/deprecator_spec.rb