mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
removed repeated/redundant test from test_command_set.rb
This commit is contained in:
parent
18c8ccdecc
commit
54df4bf7bd
1 changed files with 0 additions and 9 deletions
|
@ -285,15 +285,6 @@ describe Pry::CommandSet do
|
|||
lambda { @set.rename_command('bar', 'love') }.should.raise ArgumentError
|
||||
end
|
||||
|
||||
it 'should be able to rename and run a command' do
|
||||
run = false
|
||||
@set.command('foo') { run = true }
|
||||
@set.rename_command('bar', 'foo')
|
||||
@set.run_command(@ctx, 'bar')
|
||||
run.should == true
|
||||
end
|
||||
|
||||
|
||||
it 'should make old command name inaccessible' do
|
||||
@set.command('foo') { }
|
||||
@set.rename_command('bar', 'foo')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue