Skip to content

Instantly share code, notes, and snippets.

@myabc
Created October 16, 2009 22:36
Show Gist options
  • Save myabc/212127 to your computer and use it in GitHub Desktop.
Save myabc/212127 to your computer and use it in GitHub Desktop.
See http://gist.github.com/212317 for explanation
# #<Blog::Article @id=-9223372036854775808>
# #<Blog::Article @id=-9223372036854775808>
# id is a:
# Fixnum
# Bignum
1)
'DataMapper::Migrations with sqlserver#auto_migrate Integer property with a min of -9223372036854775808 and a max of 0 should allow the min value -9223372036854775808 to be stored' FAILED
expected no Exception, got #<Spec::Expectations::ExpectationNotMetError:
expected #<Blog::Article @id=-9223372036854775808>
got #<Blog::Article @id=-9223372036854775808>
(compared using eql?)
>
/usr/local/jruby-1.3.1/lib/ruby/gems/1.8/gems/rspec-1.2.7/lib/spec/expectations/fail_with.rb:39:in `fail_with'
/usr/local/jruby-1.3.1/lib/ruby/gems/1.8/gems/rspec-1.2.7/lib/spec/expectations/handler.rb:44:in `handle_matcher'
/usr/local/jruby-1.3.1/lib/ruby/gems/1.8/gems/rspec-1.2.7/lib/spec/expectations/extensions/kernel.rb:50:in `should_not'
/Users/alexbcoles/git-repos/dm-core/spec/public/migrations_spec.rb:457:
/usr/local/jruby-1.3.1/lib/ruby/gems/1.8/gems/rspec-1.2.7/lib/spec/example/example_methods.rb:40:in `instance_eval'
/usr/local/jruby-1.3.1/lib/ruby/gems/1.8/gems/rspec-1.2.7/lib/spec/example/example_methods.rb:40:in `execute'
/usr/local/jruby-1.3.1/lib/ruby/gems/1.8/gems/rspec-1.2.7/lib/spec/example/example_methods.rb:37:in `execute'
/usr/local/jruby-1.3.1/lib/ruby/gems/1.8/gems/rspec-1.2.7/lib/spec/example/example_group_methods.rb:207:in `run_examples'
/usr/local/jruby-1.3.1/lib/ruby/gems/1.8/gems/rspec-1.2.7/lib/spec/example/example_group_methods.rb:205:in `each'
/usr/local/jruby-1.3.1/lib/ruby/gems/1.8/gems/rspec-1.2.7/lib/spec/example/example_group_methods.rb:205:in `run_examples'
/usr/local/jruby-1.3.1/lib/ruby/gems/1.8/gems/rspec-1.2.7/lib/spec/example/example_group_methods.rb:103:in `run'
/usr/local/jruby-1.3.1/lib/ruby/gems/1.8/gems/rspec-1.2.7/lib/spec/runner/example_group_runner.rb:23:in `run'
/usr/local/jruby-1.3.1/lib/ruby/gems/1.8/gems/rspec-1.2.7/lib/spec/runner/example_group_runner.rb:22:in `each'
/usr/local/jruby-1.3.1/lib/ruby/gems/1.8/gems/rspec-1.2.7/lib/spec/runner/example_group_runner.rb:22:in `run'
/usr/local/jruby-1.3.1/lib/ruby/gems/1.8/gems/rspec-1.2.7/lib/spec/runner/options.rb:127:in `run_examples'
/usr/local/jruby-1.3.1/lib/ruby/gems/1.8/gems/rspec-1.2.7/lib/spec/runner/command_line.rb:9:in `run'
/usr/local/jruby-1.3.1/lib/ruby/gems/1.8/gems/rspec-1.2.7/bin/spec:4:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment