Skip to content

Commit d5eb9d8

Browse files
authored
Fix removal of external spec dependency (httpstat.us offline) (#298)
* Fix removal of external spec dependency (httpstat.us offline) * Remove codeclimate
1 parent ab0622a commit d5eb9d8

File tree

6 files changed

+5
-10
lines changed

6 files changed

+5
-10
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,3 @@ jobs:
8484
env:
8585
PUPPETEER_VERSION: ${{ matrix.puppeteer-version }}
8686
GROVER_NO_SANDBOX: true
87-
88-
- name: Test & publish code coverage
89-
uses: paambaati/codeclimate-action@v3.2.0

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ gem 'rspec-retry', '~> 0.6'
1818
gem 'rubocop', '~> 1.68'
1919
gem 'rubocop-rake', '~> 0.6'
2020
gem 'rubocop-rspec', '~> 3.2'
21-
gem 'simplecov', '~> 0.22.0'
2221
gem 'sinatra', '~> 4.1'

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
[![Test Build Status](https://github.com/Studiosity/grover/actions/workflows/test.yml/badge.svg)](https://github.com/Studiosity/grover/actions/workflows/test.yml)
2-
[![Maintainability](https://api.codeclimate.com/v1/badges/37609653789bcf2c8d94/maintainability)](https://codeclimate.com/github/Studiosity/grover/maintainability)
3-
[![Test Coverage](https://api.codeclimate.com/v1/badges/37609653789bcf2c8d94/test_coverage)](https://codeclimate.com/github/Studiosity/grover/test_coverage)
42
[![Gem Version](https://badge.fury.io/rb/grover.svg)](https://badge.fury.io/rb/grover)
53

64
# Grover

spec/grover/processor_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@
776776
<head><link rel="icon" href="data:;base64,iVBORw0KGgo="></head>
777777
<body>
778778
Hey there
779-
<img src="https://httpstat.us/304" />
779+
<img src="http://localhost:4567/304" />
780780
</body>
781781
</html>
782782
HTML

spec/spec_helper.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# frozen_string_literal: true
22

3-
require 'simplecov'
4-
SimpleCov.start
5-
63
$LOAD_PATH.unshift File.expand_path('../lib', __dir__)
74
require 'grover'
85

spec/support/test_app.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,7 @@ def authorized?
5050
get '/cat' do
5151
'<html><body><img src="/cat.png" alt="Cat"></body></html>'
5252
end
53+
54+
get '/304' do
55+
redirect to('/cat.png'), 304
56+
end

0 commit comments

Comments
 (0)