Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

upgrade to rspec

  • Loading branch information...
commit e893486c521d6ae50d0dd6a781bc38a40df18d08 1 parent b51dc2a
@infused authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  dbf.gemspec
  2. +2 −2 spec/dbf/column_spec.rb
View
2  dbf.gemspec
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
s.required_rubygems_version = '>= 1.3.0'
s.add_dependency 'fastercsv', '~> 1.5.4'
- s.add_development_dependency 'rspec', '~> 2.9.0'
+ s.add_development_dependency 'rspec', '~> 2.11.0'
s.add_development_dependency 'rake', '~> 0.9.2'
# if RUBY_VERSION.to_f >= 1.9
View
4 spec/dbf/column_spec.rb
@@ -106,10 +106,10 @@
if ruby_supports_mathn?
context 'when requiring mathn' do
it "casts to DateTime" do
- expect do
+ lambda {
require 'mathn'
column.type_cast("Nl%\000\300Z\252\003")
- end.call.should == DateTime.parse("2002-10-10T17:04:56+00:00")
+ }.call.should == DateTime.parse("2002-10-10T17:04:56+00:00")
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.