Sha256: 9c7a88c0fcdf1246bb2a8ae2a576a07cbf5f6ab02543bac0e483fd9f6c0f10be

Contents?: true

Size: 312 Bytes

Versions: 38

Compression:

Stored size: 312 Bytes

Contents

if DependencyHelper.grape_present?
  describe "Appsignal::Loaders::PadrinoLoader" do
    describe "#on_load" do
      it "ensures the Grape middleware is loaded" do
        load_loader(:grape)

        # Calling this doesn't raise a NameError
        Appsignal::Rack::GrapeMiddleware
      end
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
appsignal-4.0.6-java spec/lib/appsignal/loaders/grape_spec.rb
appsignal-4.0.6 spec/lib/appsignal/loaders/grape_spec.rb
appsignal-4.0.5-java spec/lib/appsignal/loaders/grape_spec.rb
appsignal-4.0.5 spec/lib/appsignal/loaders/grape_spec.rb
appsignal-4.0.4-java spec/lib/appsignal/loaders/grape_spec.rb
appsignal-4.0.4 spec/lib/appsignal/loaders/grape_spec.rb
appsignal-4.0.3-java spec/lib/appsignal/loaders/grape_spec.rb
appsignal-4.0.3 spec/lib/appsignal/loaders/grape_spec.rb
appsignal-4.0.2-java spec/lib/appsignal/loaders/grape_spec.rb
appsignal-4.0.2 spec/lib/appsignal/loaders/grape_spec.rb
appsignal-4.0.1-java spec/lib/appsignal/loaders/grape_spec.rb
appsignal-4.0.1 spec/lib/appsignal/loaders/grape_spec.rb
appsignal-4.0.0-java spec/lib/appsignal/loaders/grape_spec.rb
appsignal-4.0.0 spec/lib/appsignal/loaders/grape_spec.rb
appsignal-3.13.1-java spec/lib/appsignal/loaders/grape_spec.rb
appsignal-3.13.1 spec/lib/appsignal/loaders/grape_spec.rb
appsignal-3.13.1.alpha.1-java spec/lib/appsignal/loaders/grape_spec.rb
appsignal-3.13.1.alpha.1 spec/lib/appsignal/loaders/grape_spec.rb
appsignal-4.0.0.beta.2-java spec/lib/appsignal/loaders/grape_spec.rb
appsignal-4.0.0.beta.2 spec/lib/appsignal/loaders/grape_spec.rb