Skip to content

Commit

Permalink
Test against Spree 3.1, 3.2, 3.3 & master
Browse files Browse the repository at this point in the history
  • Loading branch information
damianlegawiec committed Sep 13, 2017
1 parent 451378b commit a6c2532
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
7 changes: 6 additions & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ appraise 'spree-3-1' do
end

appraise 'spree-3-2' do
gem 'spree', '~> 3.2.0.rc3'
gem 'spree', '~> 3.2.0'
gem 'rails-controller-testing'
end

appraise 'spree-3-3' do
gem 'spree', '~> 3.3.0'
gem 'rails-controller-testing'
end

Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source 'https://rubygems.org'

spree_version = 'master'
gem 'spree', github: 'spree/spree', branch: spree_version
gem 'spree', github: 'spree/spree', branch: 'master'
gem 'rails-controller-testing'

gemspec
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RSpec::Core::RakeTask.new

task :default => [:spec]

desc "Regenerates a rails 3 app for testing"
desc "Regenerates a rails app for testing"
task :test_app do
ENV['LIB_NAME'] = 'spree_digital'
Rake::Task['common:test_app'].invoke
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/spree_3_2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "spree", "~> 3.2.0.rc3"
gem "spree", "~> 3.2.0"
gem "rails-controller-testing"

gemspec :path => "../"
8 changes: 8 additions & 0 deletions gemfiles/spree_3_3.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "spree", "~> 3.3.0"
gem "rails-controller-testing"

gemspec :path => "../"

0 comments on commit a6c2532

Please sign in to comment.