Skip to content

Commit e2fa7ad

Browse files
committed
Fixed rspec not work with Rails 2.2.1
1 parent 329fee0 commit e2fa7ad

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Gemfile

+4
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,8 @@ group :test do
9595
gem 'launchy'
9696
gem 'selenium-webdriver'
9797
gem 'poltergeist'
98+
99+
# rspec-rails rely on test-unit if rails version less then 4.1.0
100+
# but test-unit has been removed from ruby core since 2.2.0
101+
gem 'test-unit'
98102
end

Gemfile.lock

+4
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ GEM
270270
cliver (~> 0.3.1)
271271
multi_json (~> 1.0)
272272
websocket-driver (>= 0.2.0)
273+
power_assert (0.2.2)
273274
pry (0.9.12.6)
274275
coderay (~> 1.0)
275276
method_source (~> 0.8)
@@ -392,6 +393,8 @@ GEM
392393
sprockets (>= 2.8, < 4.0)
393394
structured_warnings (0.1.4)
394395
temple (0.6.7)
396+
test-unit (3.0.8)
397+
power_assert
395398
thor (0.19.1)
396399
thread_safe (0.1.3)
397400
atomic
@@ -502,6 +505,7 @@ DEPENDENCIES
502505
simple_captcha2
503506
simple_form (~> 3.1.0)
504507
slim-rails
508+
test-unit
505509
timecop
506510
twilio-ruby (~> 3.11)
507511
uglifier

0 commit comments

Comments
 (0)