Permalink
Browse files

fix human-readable portion of spec

  • Loading branch information...
1 parent 25e5ca6 commit 732d94663d5482f209fb131e9d9ec209776efbe3 @yaauie yaauie committed Aug 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/delorean_spec.rb
@@ -80,7 +80,7 @@
describe 'of Date' do
let( :date_klass ){ Class.new(Date) }
- it 'should change the result of time_klass.now' do
+ it 'should change the result of date_klass.now' do
past_date = Date.new(1955,11,12)
Delorean.time_travel_to( past_date ) do
date_klass.today.should be_an_instance_of date_klass
@@ -91,7 +91,7 @@
describe 'of DateTime' do
let( :datetime_klass ){ Class.new(DateTime) }
- it 'should change the result of time_klass.now' do
+ it 'should change the result of datetime_klass.now' do
past_date = Date.new(1955,11,12)
Delorean.time_travel_to( past_date ) do
datetime_klass.now.should be_an_instance_of datetime_klass

0 comments on commit 732d946

Please sign in to comment.