Sha256: 9f92049bbffad3205e792c051eb2b07abada6ca1eba81989780d27702ec197c0

Contents?: true

Size: 347 Bytes

Versions: 3

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{\Ause ActionDispatch::Static}
    output.must_match %r{^use ActionDispatch::ShowExceptions$}
    output.must_match %r{^run TestApp.routes\Z}
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pry-rails-0.3.2 spec/show_middleware_spec.rb
pry-rails-0.3.1 spec/show_middleware_spec.rb
pry-rails-0.3.0 spec/show_middleware_spec.rb