fixed review changes
This commit is contained in:
parent
84f2edc884
commit
aeede8374f
@ -2,14 +2,12 @@
|
||||
|
||||
require_relative "options"
|
||||
require "search"
|
||||
require "utils"
|
||||
|
||||
module Cask
|
||||
class Cmd
|
||||
class AbstractCommand
|
||||
include Options
|
||||
include Homebrew::Search
|
||||
include Utils
|
||||
|
||||
option "--[no-]binaries", :binaries, true
|
||||
option "--debug", :debug, false
|
||||
|
@ -46,7 +46,7 @@ module Cask
|
||||
|
||||
def self.info(cask)
|
||||
puts get_info(cask)
|
||||
Analytics.cask_output(cask)
|
||||
::Utils::Analytics.cask_output(cask)
|
||||
end
|
||||
|
||||
def self.title_info(cask)
|
||||
|
@ -140,7 +140,7 @@ describe Cask::Cmd::Info, :cask do
|
||||
EOS
|
||||
end
|
||||
|
||||
it "can run be run with a url twice", :needs_network do
|
||||
it "can run be run with a url twice and returns analytics", :needs_network do
|
||||
analytics = {
|
||||
"analytics" => {
|
||||
"install" => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user