Skip to content
This repository has been archived by the owner on Mar 18, 2020. It is now read-only.

inventid/squeel-bug-369-testcase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

We love Squeel. It makes SQL syntax simply so much better.

However sometimes a bug may incidentally enter such a project. This repo serves as the test case of a bug.

The failing statements are marked in rspec with failure: true.

To test, simply clone the repo. Then start the Vagrant machine, using vagrant up. Once provisioning finishes, follow the last commands in the output:

  • First install the gems: source $HOME/.rvm/scripts/rvm
  • Then install Bundler: cd /vagrant && gem install bundler
  • Finally, run the tests: export RAILS_VERSION=4.2.1; rm Gemfile.lock; bundle install; bundle exec rspec.
  • Replace the rails version in the command with the one you want to test with.

Releases

No releases published

Packages

No packages published