From 097548896420adfa66df79e86fb60dc232756ba4 Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg Date: Mon, 4 Jun 2012 00:00:38 -0700 Subject: [PATCH] possible rspec bug? updating from 2.9 ~> 2.10 causes spec/controllers/publics_controller_spec.rb to break. Namely, it now seems that the host_meta, and web finger actions now return successful http codes, but have blank bodies. Running this code by hand shows that the response bodies are indeed not blank, as reported by rspec-rails 2.9.x --- Gemfile | 2 +- Gemfile.lock | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Gemfile b/Gemfile index a66ec470e..43cbeb512 100644 --- a/Gemfile +++ b/Gemfile @@ -166,7 +166,7 @@ end group :test, :development do gem 'debugger', :platforms => :mri_19 - gem "rspec-rails", "~> 2.9.0" + gem "rspec-rails", "~> 2.10" gem 'ruby-debug', :platforms => :mri_18 end diff --git a/Gemfile.lock b/Gemfile.lock index ee495bd16..050be0afb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -379,20 +379,20 @@ GEM rpm_contrib (2.1.11) newrelic_rpm (>= 3.1.1) newrelic_rpm (>= 3.1.1) - rspec (2.9.0) - rspec-core (~> 2.9.0) - rspec-expectations (~> 2.9.0) - rspec-mocks (~> 2.9.0) - rspec-core (2.9.0) - rspec-expectations (2.9.1) + rspec (2.10.0) + rspec-core (~> 2.10.0) + rspec-expectations (~> 2.10.0) + rspec-mocks (~> 2.10.0) + rspec-core (2.10.1) + rspec-expectations (2.10.0) diff-lcs (~> 1.1.3) rspec-instafail (0.2.4) - rspec-mocks (2.9.0) - rspec-rails (2.9.0) + rspec-mocks (2.10.1) + rspec-rails (2.10.1) actionpack (>= 3.0) activesupport (>= 3.0) railties (>= 3.0) - rspec (~> 2.9.0) + rspec (~> 2.10.0) ruby-debug (0.10.4) columnize (>= 0.1) ruby-debug-base (~> 0.10.4.0) @@ -536,7 +536,7 @@ DEPENDENCIES roxml! rpm_contrib (~> 2.1.7) rspec-instafail (>= 0.1.7) - rspec-rails (~> 2.9.0) + rspec-rails (~> 2.10) ruby-debug ruby-oembed (~> 0.8.7) sass-rails (= 3.2.5)