Sha256: acd3520623dae7ef728b1e6480e58e885c60b94e69256270eba110664c8b9eeb
Contents?: true
Size: 461 Bytes
Versions: 79
Compression:
Stored size: 461 Bytes
Contents
require 'helper' describe "disable-pry" do before do @t = pry_tester end after do ENV.delete 'DISABLE_PRY' end it 'should quit the current session' do lambda{ @t.process_command 'disable-pry' }.should.throw(:breakout) end it "should set DISABLE_PRY" do ENV['DISABLE_PRY'].should == nil lambda{ @t.process_command 'disable-pry' }.should.throw(:breakout) ENV['DISABLE_PRY'].should == 'true' end end
Version data entries
79 entries across 79 versions & 5 rubygems