summaryrefslogtreecommitdiff
path: root/spec/commands/ri_command_spec.rb
blob: 9fc4468a471baf7b5972114147b155999defa8ab (plain)
1
2
3
4
5
6
7
describe "ri" do
  it "prints an error message without an argument" do
    expect(pry_eval("ri")).to include(
      "Please provide a class, module, or method name (e.g: ri Array#push)"
    )
  end
end