test/hexlet/teacher_cli_test.rb in hexlet-0.1.1 vs test/hexlet/teacher_cli_test.rb in hexlet-0.2.0

- old
+ new

@@ -4,9 +4,16 @@ def setup @router = Hexlet::Router.new end def test_submit + FakeFS do + result = Hexlet::TeacherCLI.start ["init", "--verbose"] + assert { result } + end + end + + def test_submit stub = stub_request(:post, @router.api_teacher_lessons_url). to_return(:status => 201) FakeFS do folder = "my_super_ru_lesson"