Skip to content

Commit

Permalink
Merge pull request #2292 from hyuraku/remove_Bond_spec
Browse files Browse the repository at this point in the history
remove Bond spec
  • Loading branch information
andrehjr committed Oct 27, 2023
2 parents fcf8fc7 + 4b0862e commit aa6282f
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions spec/command_set_spec.rb
Expand Up @@ -399,23 +399,4 @@
end
end
end

# TODO: rewrite this block.
if defined?(Bond)
describe "#complete" do
it "should list all command names" do
set.create_command('susan') {}
expect(set.complete('sus')).to.include 'susan '
end

it "should delegate to commands" do
set.create_command('susan') do
def complete(_search)
['--foo']
end
end
expect(set.complete('susan ')).to eq ['--foo']
end
end
end
end

0 comments on commit aa6282f

Please sign in to comment.