Sha256: 0820af55771813c8817d1d115d82e53906ca786574e70ba97d24d549bfa07ffb
Contents?: true
Size: 403 Bytes
Versions: 3
Compression:
Stored size: 403 Bytes
Contents
# encoding: UTF-8 require 'spec_helper' require 'rails/commands/console' describe PryRails::Railtie do it 'should start Pry instead of IRB and make the helpers available' do mock(Pry).start Rails::Console.start(Rails.application) assert RR.verify %w(app helper reload!).each do |helper| TOPLEVEL_BINDING.eval("respond_to?(:#{helper}, true)").must_equal true end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pry-rails-0.3.2 | spec/railtie_spec.rb |
pry-rails-0.3.1 | spec/railtie_spec.rb |
pry-rails-0.3.0 | spec/railtie_spec.rb |