Skip to content

Instantly share code, notes, and snippets.

@kimardenmiller
Created March 7, 2013 17:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kimardenmiller/5109760 to your computer and use it in GitHub Desktop.
Save kimardenmiller/5109760 to your computer and use it in GitHub Desktop.
spec/models/proposal_spec.rb Run
/Users/kimardenmiller/.rvm/rubies/ruby-1.9.3-p286/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/kimardenmiller/.rvm/gems/ruby-1.9.3-p286@spokenvote/bin/rspec /Users/kimardenmiller/Dropbox/Spokenvote/Git/spokenvote/spec/models/proposal_spec.rb --require teamcity/spec/runner/formatter/teamcity/formatter --format Spec::Runner::Formatter::TeamcityFormatter
Testing started at 9:01 AM ...
Rack::File headers parameter replaces cache_control after Rack 1.5.
ActiveRecord::StatementInvalid: PG::Error: ERROR: relation "users" does not exist
LINE 5: WHERE a.attrelid = '"users"'::regclass
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"users"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
./spec/models/proposal_spec.rb:32:in `new'
./spec/models/proposal_spec.rb:32:in `block (2 levels) in <top (required)>'
ActiveRecord::StatementInvalid: PG::Error: ERROR: relation "users" does not exist
LINE 5: WHERE a.attrelid = '"users"'::regclass
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"users"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
./spec/models/proposal_spec.rb:32:in `new'
./spec/models/proposal_spec.rb:32:in `block (2 levels) in <top (required)>'
ActiveRecord::StatementInvalid: PG::Error: ERROR: relation "users" does not exist
LINE 5: WHERE a.attrelid = '"users"'::regclass
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"users"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
./spec/models/proposal_spec.rb:32:in `new'
./spec/models/proposal_spec.rb:32:in `block (2 levels) in <top (required)>'
3 examples, 3 failures, 0 passed
Finished in 1.195157 seconds
Process finished with exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment