Problem with Error_controller_spec seemst to be connected with pundit. When we use version 0.3 instead of 1.1 all tests are passing. I have discovered that somehow error record is not correctly assigned in newer verion. Probably we need to look for an issue in spec/factories/error or app/models/error files. Tests are failing at the first step, when creating error -> @error = Error.new(params). Still hasn't solved but im quite close

This commit is contained in:
yqbk
2016-06-08 18:56:54 +02:00
parent 4c16661bc3
commit c8abe46815
3 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@ gem 'newrelic_rpm'
gem 'pg', platform: :ruby
gem 'pry-byebug'
gem 'puma', '~> 2.15.3'
gem 'pundit'
gem 'pundit', '0.3'
gem 'rails', '~> 4.1.13'
gem 'rails-i18n', '~> 4.0.0'
gem 'ransack'