diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..f36e875
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,31 @@
+name: Tests
+
+on:
+ push:
+ branches: [master]
+ pull_request:
+ branches: [master]
+
+jobs:
+ rspec:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ ruby-version: ["3.1"]
+
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: Set up Ruby ${{ matrix.ruby-version }}
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: ${{ matrix.ruby-version }}
+ bundler-cache: true
+
+ - name: Install dependencies
+ run: |
+ gem install bundler
+ bin/setup
+
+ - name: Run RSpec tests
+ run: bundle exec rspec
diff --git a/README.md b/README.md
index b6a415d..b78f141 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-
+
👋 Welcome to render_async
@@ -24,9 +24,6 @@
-
-
-
diff --git a/cover.png b/cover.png
new file mode 100644
index 0000000..dad7566
Binary files /dev/null and b/cover.png differ
diff --git a/render_async.gemspec b/render_async.gemspec
index 9b1b1de..62d4290 100644
--- a/render_async.gemspec
+++ b/render_async.gemspec
@@ -23,5 +23,4 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.2"
- spec.add_development_dependency "codeclimate-test-reporter", "~> 1.0.8"
end
diff --git a/spec/render_async/view_helper_spec.rb b/spec/render_async/view_helper_spec.rb
index 919a4c5..3f40b18 100644
--- a/spec/render_async/view_helper_spec.rb
+++ b/spec/render_async/view_helper_spec.rb
@@ -1,4 +1,5 @@
require "spec_helper"
+require "json"
describe RenderAsync::ViewHelper do
let(:helper) { Class.new { extend RenderAsync::ViewHelper } }
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 16c1524..f693849 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,5 +1,2 @@
-require "simplecov"
-SimpleCov.start
-
$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
require "render_async"