Created
July 1, 2012 18:20
-
-
Save jbbarth/3029163 to your computer and use it in GitHub Desktop.
Testing my redmine_sudo plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To be fair, it's not an active_record issue, it's a redmine issue : http://www.redmine.org/issues/11299