summaryrefslogtreecommitdiff
path: root/spec/command_integration_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* rubocop: fix offences of the Style/HashSyntax copKyrylo Silin2018-10-131-43/+43
|
* specs: convert to shoulds to expectsKyrylo Silin2015-03-101-71/+71
|
* Fix possible reference to past scope warningsMatijs van Zuijlen2015-01-231-4/+2
| | | | This type of warning was introduced in Ruby 2.2
* Fix some warningsMatijs van Zuijlen2015-01-231-52/+52
|
* Switch test suite to RSpecJosh Cheek2014-08-101-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Removes Bacon and Mocha Reasoning explained in this comment: https://github.com/pry/pry/issues/277#issuecomment-51708712 Mostly this went smoothly. There were a few errors that I fixed along the way, e.g. tests that were failing but for various reasons still passed. Should have documented them, but didn't think about it until very near the end. But generaly, I remember 2 reasons this would happen: `lambda { raise "omg" }.should.raise(RuntimeError, /not-omg/)` will pass because the second argument is ignored by Bacon. And `1.should == 2` will return false instead of raising an error when it is not in an it block (e.g. if stuck in a describe block, that would just return false) The only one that I felt unsure about was spec/helpers/table_spec.rb `Pry::Helpers.tablify_or_one_line('head', %w(ing)).should == 'head: ing'` This is wrong, but was not failing because it was in a describe block instead of an it block. In reality, it returns `"head: ing\n"`, I updated the test to reflect this, though I don't know for sure this is the right thing to do This will fail on master until https://github.com/pry/pry/pull/1281 is merged. This makes https://github.com/pry/pry/pull/1278 unnecessary.
* Stop using compatibility aliases for Pry.configConrad Irwin2014-05-011-1/+1
|
* allow for tests to be run with ease.Robert Gleeson2014-03-141-1/+1
| | | | 'bacon spec/config_spec.rb' instead of 'bacon -I spec spec/config_spec.rb'
* rename Pry::CommandSet#commands as Pry::CommandSet#to_hash.Robert Gleeson2014-02-041-16/+18
| | | | | 'Pry.commands.commands' gone in favor of 'Pry.commands.to_hash' or as using a CommandSet as an enumerable (Pry.commands.each etc) instead.
* Rename `accept_line` to `eval`Ryan Fitzgerald2012-12-271-1/+1
|
* Fix ivar leakageRyan Fitzgerald2012-12-231-1/+1
|
* Add Pry::Driver to handle the reading and loopingConrad Irwin2012-12-201-27/+8
|
* Fix play_spec and command_integration_specRyan Fitzgerald2012-12-181-5/+4
|
* Don't pass target to run_command eitherConrad Irwin2012-12-181-7/+0
|
* Remove rep and reRyan Fitzgerald2012-12-181-4/+5
|
* Remove final rep(o)Conrad Irwin2012-12-181-4/+3
|
* Require the first target to be given at initializationRyan Fitzgerald2012-12-171-1/+1
|
* Remove more target paramsRyan Fitzgerald2012-12-171-2/+2
|
* Fix failures in command_integration_specRyan Fitzgerald2012-12-151-118/+63
|
* cleaned up lib/pry/test/helper.rbJohn Mair2012-12-071-40/+28
| | | | | * removed most historicla junk from lib/pry/test/helper.rb * relocated recalcitrant junk to the local spec/helper.rb (this isn't exposed to 3rd parties)
* Rename for tabcompletion-friendliness.☈king2012-11-151-0/+656