From 6ba8f51b7ae6e127317de1664ff6d4b18baf8f1d Mon Sep 17 00:00:00 2001 From: Mohnish G J Date: Sun, 16 Jun 2024 10:01:48 +0200 Subject: [PATCH] Update command to run specs RSpec instead of Rake - Make appropriate code changes --- .github/workflows/ruby.yml | 4 ++-- Gemfile | 4 ---- Gemfile.lock | 2 -- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 8e847fc..f3b5c80 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -2,7 +2,7 @@ # They are provided by a third-party and are governed by # separate terms of service, privacy policy, and support # documentation. -# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake +# This workflow will download a prebuilt Ruby version, install dependencies and run tests with RSpec # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby name: Ruby @@ -35,4 +35,4 @@ jobs: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Run tests - run: bundle exec rake + run: bundle exec rspec spec diff --git a/Gemfile b/Gemfile index 95c6483..364dba2 100644 --- a/Gemfile +++ b/Gemfile @@ -15,7 +15,3 @@ group :development, :test do gem 'pry' gem 'rspec' end - -group :test do - gem 'rake' -end diff --git a/Gemfile.lock b/Gemfile.lock index f10d28f..45fe75d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -75,7 +75,6 @@ GEM public_suffix (5.0.5) racc (1.8.0) rainbow (3.1.1) - rake (13.2.1) reek (6.3.0) dry-schema (~> 1.13.0) parser (~> 3.3.0) @@ -165,7 +164,6 @@ DEPENDENCIES fasterer flog pry - rake reek rspec rubocop