Skip to content

Specs not working #7

Description

@ioquatix

I thought I followed all the instructions.

But specs still failing

% rspec        
/home/samuel/Documents/Programming/socketry/guard-falcon/lib/guard/falcon/controller.rb:56: warning: assigned but unused variable - options
/home/samuel/.rvm/gems/ruby-2.4.0/gems/async-io-0.5.0/lib/async/io/socket.rb:59: warning: shadowing outer local variable - task
/home/samuel/.rvm/gems/ruby-2.4.0/gems/async-http-0.2.0/lib/async/http/protocol/http1x.rb:51: warning: assigned but unused variable - method
/home/samuel/.rvm/gems/ruby-2.4.0/gems/async-http-0.2.0/lib/async/http/protocol/http1x.rb:51: warning: assigned but unused variable - path

Guard::Falcon::Controller
  should start server (FAILED - 1)

Failures:

  1) Guard::Falcon::Controller should start server
     Failure/Error: logger.info("Starting Falcon HTTP server on #{@options[:bind]}.")
     
     NoMethodError:
       undefined method `info' for Guard::UI:Module
     # /home/samuel/.rvm/gems/ruby-2.4.0/gems/guard-compat-1.2.1/lib/guard/compat/plugin.rb:73:in `info'
     # ./lib/guard/falcon/controller.rb:62:in `run_server'
     # ./lib/guard/falcon/controller.rb:76:in `start'
     # ./spec/guard/falcon/controller_spec.rb:30:in `block (2 levels) in <top (required)>'

Finished in 0.00069 seconds (files took 0.08173 seconds to load)
1 example, 1 failure

Failed examples:

rspec ./spec/guard/falcon/controller_spec.rb:29 # Guard::Falcon::Controller should start server

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions