Skip to content

Commit

Permalink
Fixed: Use Rails suite for ActionView for Rails 3 tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
delner committed Aug 16, 2019
1 parent abcb7a3 commit b094bd0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ elsif Gem::Version.new('2.0.0') <= Gem::Version.new(RUBY_VERSION) \
end

appraise 'contrib-old' do
gem 'actionview', '< 5.0'
gem 'active_model_serializers', '~> 0.9.0'
gem 'activerecord', '3.2.22.5'
gem 'activerecord-mysql-adapter', platform: :ruby
Expand Down Expand Up @@ -163,7 +162,6 @@ elsif Gem::Version.new('2.1.0') <= Gem::Version.new(RUBY_VERSION) \
end

appraise 'contrib-old' do
gem 'actionview', '< 5.0'
gem 'active_model_serializers', '~> 0.9.0'
gem 'activerecord', '3.2.22.5'
gem 'activerecord-mysql-adapter', platform: :ruby
Expand Down
10 changes: 8 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ task :ci do
sh 'bundle exec appraisal contrib-old rake test:sidekiq'
sh 'bundle exec appraisal contrib-old rake test:sucker_punch'
# Contrib specs
sh 'bundle exec appraisal contrib-old rake spec:action_view'
sh 'bundle exec appraisal contrib-old rake spec:active_model_serializers'
sh 'bundle exec appraisal contrib-old rake spec:active_record'
sh 'bundle exec appraisal contrib-old rake spec:active_support'
Expand Down Expand Up @@ -236,6 +235,10 @@ task :ci do
sh 'bundle exec appraisal rails30-postgres rake spec:rails'
sh 'bundle exec appraisal rails32-mysql2 rake spec:rails'
sh 'bundle exec appraisal rails32-postgres rake spec:rails'
# Rails suite specs
sh 'bundle exec appraisal rails32-postgres rake spec:action_view'
sh 'bundle exec appraisal rails32-mysql2 rake spec:active_record'
sh 'bundle exec appraisal rails32-postgres rake spec:active_support'
end
elsif Gem::Version.new('2.1.0') <= Gem::Version.new(RUBY_VERSION) \
&& Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.0')
Expand All @@ -251,7 +254,6 @@ task :ci do
sh 'bundle exec appraisal contrib-old rake test:sidekiq'
sh 'bundle exec appraisal contrib-old rake test:sucker_punch'
# Contrib specs
sh 'bundle exec appraisal contrib-old rake spec:action_view'
sh 'bundle exec appraisal contrib-old rake spec:active_model_serializers'
sh 'bundle exec appraisal contrib-old rake spec:active_record'
sh 'bundle exec appraisal contrib-old rake spec:active_support'
Expand Down Expand Up @@ -291,6 +293,10 @@ task :ci do
sh 'bundle exec appraisal rails32-postgres rake spec:rails'
sh 'bundle exec appraisal rails4-mysql2 rake spec:rails'
sh 'bundle exec appraisal rails4-postgres rake spec:rails'
# Rails suite specs
sh 'bundle exec appraisal rails32-postgres rake spec:action_view'
sh 'bundle exec appraisal rails32-mysql2 rake spec:active_record'
sh 'bundle exec appraisal rails32-postgres rake spec:active_support'
end
elsif Gem::Version.new('2.2.0') <= Gem::Version.new(RUBY_VERSION)\
&& Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.3.0')
Expand Down

0 comments on commit b094bd0

Please sign in to comment.