spec/integration/comment_pr_spec.rb in geet-0.15.0 vs spec/integration/comment_pr_spec.rb in geet-0.16.0
- old
+ new
@@ -25,13 +25,9 @@
STR
actual_output = StringIO.new
service_instance = described_class.new(repository, out: actual_output, git_client: git_client)
- expect(service_instance).to receive(:open_file_with_default_application).with("https://github.com/#{owner}/#{repository_name}/pull/#{expected_pr_number}") do
- # do nothing; just don't open the browser
- end
-
service_result = VCR.use_cassette('github_com/comment_pr') do
service_instance.execute(comment)
end
actual_pr_number = service_result.number