trailblazer-endpoint icon indicating copy to clipboard operation
trailblazer-endpoint copied to clipboard

The tests do not pass

Open ch1c0t opened this issue 3 years ago • 1 comments

I got some tests failed with MRI 2.7:

25 runs, 71 assertions, 5 failures, 5 errors, 0 skips

Focus on failing tests:
ruby test/endpoint_test.rb -l 435
ruby test/endpoint_test.rb -l 494
ruby test/endpoint_test.rb -l 19
ruby test/endpoint_test.rb -l 48
ruby test/endpoint_test.rb -l 83
ruby test/endpoint_test.rb -l 115
ruby test/docs/controller_test.rb -l 272
ruby test/docs/controller_test.rb -l 267
ruby test/adapter/representable_test.rb -l 4
ruby test/docs/endpoint_test.rb -l 22
rake aborted!
Command failed with status (1): [ruby -w -I"lib:test" /home/me/.gem/ruby/2.7.2/gems/rake-13.0.3/lib/rake/rake_test_loader.rb "test/endpoint_test.rb" "test/docs/controller_test.rb" "test/docs/endpoint_test.rb" "test/adapter/api_test.rb" "test/adapter/representable_test.rb" "test/adapter/web_test.rb" "test/config_test.rb" ]
/home/me/.gem/ruby/2.7.2/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'                                                            
/home/me/.rubies/2.7.2/bin/bundle:23:in `load'
/home/me/.rubies/2.7.2/bin/bundle:23:in `<main>'
Tasks: TOP => default => test
(See full trace by running task with --trace)

Steps to reproduce:

  1. git clone https://github.com/trailblazer/trailblazer-endpoint && cd trailblazer-endpoint
  2. bundle
  3. bundle exec rake

ch1c0t avatar Apr 11 '21 18:04 ch1c0t

Hi @ch1c0t, I currently only run the test/rails-app suite, this gem still needs unit tests. Thanks for reminding me!

apotonick avatar Apr 11 '21 19:04 apotonick