lib/cm_quiz/cli.rb in cm_quiz-0.0.1 vs lib/cm_quiz/cli.rb in cm_quiz-0.0.2

- old
+ new

@@ -13,10 +13,10 @@ desc 'test', 'Test your api implement' option :endpoint, required: true, banner: "your-test-endpoint.com" def test endpoint = options[:endpoint] puts "Start test #{endpoint}" - message = CmQuiz::ReviewQuiz.new('http://localhost:6000').perform + message = CmQuiz::ReviewQuiz.new(endpoint).perform puts message end end end