Skip to content

Commit

Permalink
Re-implement bin/console using Aruba::Console
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed Sep 14, 2017
1 parent 7a0719a commit d9b1510
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
13 changes: 2 additions & 11 deletions bin/console
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)

require 'pry'
require 'aruba/console'

require 'aruba/api'

module Aruba
class MyConsole
include Aruba::Api
end
end

include Aruba
Pry.start MyConsole.new
Aruba::Console.new.start
3 changes: 1 addition & 2 deletions features/07_development_of_aruba/run-aruba-console.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ Feature: Running the interactive "aruba" developer console
I want to use the interactive aruba console
In order to try out the "aruba" api

@requires-readline
Scenario: Running aruba interactively

This starts a pry console with "aruba"'s api loaded.
This starts an IRB console with "aruba"'s api loaded.

When I run `bin/console` interactively
And I type "exit"
Expand Down

0 comments on commit d9b1510

Please sign in to comment.