Sha256: f7eae4f316c324a6cae9bb9d70538c1afd3e00509090bc5e42b73238aac7e4f4

Contents?: true

Size: 412 Bytes

Versions: 7

Compression:

Stored size: 412 Bytes

Contents

# encoding: UTF-8

# We can just have a smoke test for this one since it's mostly using built-in
# Rails functionality. Plus the output is a bit different between Rails
# versions, so that's annoying.

require 'spec_helper'

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

    output.must_match %r{^edit_pokemon GET    /pokemon/edit}
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
pry-rails-0.3.5 spec/show_routes_spec.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/pry-rails-0.3.4/spec/show_routes_spec.rb
pry-rails-0.3.4 spec/show_routes_spec.rb
pry-rails-0.3.3 spec/show_routes_spec.rb
pry-rails-0.3.2 spec/show_routes_spec.rb
pry-rails-0.3.1 spec/show_routes_spec.rb
pry-rails-0.3.0 spec/show_routes_spec.rb