Skip to content

Instantly share code, notes, and snippets.

@jbbarth
Created July 1, 2012 18:20
Show Gist options
  • Save jbbarth/3029163 to your computer and use it in GitHub Desktop.
Save jbbarth/3029163 to your computer and use it in GitHub Desktop.
Testing my redmine_sudo plugin
% export RAILS_ENV=test
% rake db:reset db:create db:migrate redmine:plugins >/dev/null
% rails runner '$stderr.puts User.column_names.include?("sudoer")' >/dev/null
true
% rake test
[...fail fail fail...]
% rails runner '$stderr.puts User.column_names.include?("sudoer")' >/dev/null
false
@jbbarth
Copy link
Author

jbbarth commented Jul 1, 2012

To be fair, it's not an active_record issue, it's a redmine issue : http://www.redmine.org/issues/11299

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment