test/hexlet/member_cli_test.rb in hexlet-0.3.3 vs test/hexlet/member_cli_test.rb in hexlet-0.3.4

- old
+ new

@@ -8,9 +8,10 @@ def test_login api_key = "api_key" config_file = File.join(Dir.home, ".hexlet", "credentials") stub = stub_request(:get, @router.api_member_user_check_url). + with(:headers => {'X-Hexlet-Api-Key'=>api_key}). to_return(:status => 200) FakeFS do result = Hexlet::MemberCLI.start ["login", api_key, "--verbose"] assert { result }