Skip to content

Commit

Permalink
test: convert specs to tests (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
abeidahmed committed Dec 20, 2023
1 parent 6b03c6b commit 9a669a5
Show file tree
Hide file tree
Showing 13 changed files with 187 additions and 391 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ jobs:
gem install bundler:2.2.33
bundle install --jobs 4 --retry 3 --path=vendor/bundle
- name: Run tests
run: bundle exec rspec
run: bundle exec rake test
3 changes: 0 additions & 3 deletions .rspec

This file was deleted.

2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ gemspec

group :development, :test do
gem "byebug", "~> 11.1", ">= 11.1.3"
gem "minitest", "~> 5.0"
gem "nokogiri", "~> 1.13", ">= 1.13.10"
gem "rake", "~> 13.0"
gem "standard", "~> 1.16", ">= 1.16.1"
gem "rspec", "~> 3.11"
end
16 changes: 1 addition & 15 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ GEM
byebug (11.1.3)
concurrent-ruby (1.2.2)
crass (1.0.6)
diff-lcs (1.5.0)
erubi (1.12.0)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
Expand Down Expand Up @@ -68,19 +67,6 @@ GEM
rake (13.0.6)
regexp_parser (2.6.1)
rexml (3.2.5)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.0)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.0)
rubocop (1.42.0)
json (~> 2.3)
parallel (~> 1.10)
Expand Down Expand Up @@ -112,10 +98,10 @@ PLATFORMS

DEPENDENCIES
byebug (~> 11.1, >= 11.1.3)
minitest (~> 5.0)
nokogiri (~> 1.13, >= 1.13.10)
rails_heroicon!
rake (~> 13.0)
rspec (~> 3.11)
standard (~> 1.16, >= 1.16.1)

BUNDLED WITH
Expand Down
12 changes: 7 additions & 5 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# frozen_string_literal: true

require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "rake/testtask"
require "standard/rake"

RSpec::Core::RakeTask.new(:spec)
Rake::TestTask.new(:test) do |t|
t.libs << "test"
t.libs << "lib"
t.test_files = FileList["test/**/*_test.rb"]
end

task default: %i[spec standard]
task default: %i[test standard]
38 changes: 0 additions & 38 deletions spec/rails_heroicon/helper_spec.rb

This file was deleted.

Loading

0 comments on commit 9a669a5

Please sign in to comment.