Skip to content

Commit

Permalink
Added a missing spec for ronin quote --ruby.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Nov 23, 2024
1 parent 120947c commit 21720c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/cli/commands/quote_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@
describe "--ruby" do
let(:argv) { %w[--ruby] }

it "must require 'ronin/support/encoding/ruby'" do
expect(require('ronin/support/encoding/ruby')).to be(false)
end

it "must add :ruby_string to #method_calls" do
expect(subject.method_calls.last).to eq(:ruby_string)
end
Expand Down

0 comments on commit 21720c2

Please sign in to comment.