Sha256: 10ec319a0625075d68c05e3f9e2359f130875976820d01b578bd9a3e46b39244

Contents?: true

Size: 347 Bytes

Versions: 12

Compression:

Stored size: 347 Bytes

Contents

# encoding: UTF-8

require 'spec_helper'

describe "show-middleware" do
  it "should print a list of middleware" do
    output = mock_pry('show-middleware', 'exit-all')

    output.must_match %r{^use ActionDispatch::Static$}
    output.must_match %r{^use ActionDispatch::ShowExceptions$}
    output.must_match %r{^run TestApp.routes\Z}
  end
end

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
pry-rails-0.3.11 spec/show_middleware_spec.rb
pry-rails-0.3.10 spec/show_middleware_spec.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/pry-rails-0.3.9/spec/show_middleware_spec.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/pry-rails-0.3.9/spec/show_middleware_spec.rb
pry-rails-0.3.9 spec/show_middleware_spec.rb
pry-rails-0.3.8 spec/show_middleware_spec.rb
pry-rails-0.3.7 spec/show_middleware_spec.rb
pry-rails-0.3.6 spec/show_middleware_spec.rb
pry-rails-0.3.5 spec/show_middleware_spec.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/pry-rails-0.3.4/spec/show_middleware_spec.rb
pry-rails-0.3.4 spec/show_middleware_spec.rb
pry-rails-0.3.3 spec/show_middleware_spec.rb