#! /bin/bash

set -e

for RAILS_VERSION in "3.2.0" "4.0.0" "4.1.0" "5.0.0"
do
  bundle update
  bundle exec rspec spec
done

#! /bin/bash

set -e

for RAILS_VERSION in "3.2.0" "4.0.0" "4.1.0" "4.2.0" "5.0.0"
do
  export RAILS_VERSION
  echo "Rails $RAILS_VERSION"
  bundle update
  bundle exec rspec spec
done

unset RAILS_VERSION

Fix Rails versions test script
Fix Rails versions test script
