lib/snapdragon/cli_application.rb in snapdragon-0.1.9 vs lib/snapdragon/cli_application.rb in snapdragon-0.1.10

- old
+ new

@@ -11,12 +11,11 @@ # suites. Capybara.default_wait_time = 120 # 2 mins module Snapdragon class CliApplication - def initialize(arguements) - @args = arguements - @suite = Snapdragon::Suite.new(arguements) + def initialize(options, paths) + @suite = Snapdragon::Suite.new(options, paths) end def run session = Capybara::Session.new(:poltergeist, Snapdragon::WebApplication.new(nil, @suite)) if @suite.filtered?