From 8501b983d60e581043d50a4b33cdeb619eb88142 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20Sj=C3=B6berg?= Date: Wed, 6 Feb 2013 14:15:05 +0100 Subject: [PATCH] Change RSpec configuration alias In RSpec, v2.8, RSpec::Core::Configuration#alias_it_behaves_like_to does not exist. This method is introduced in later versions. Instead, use RSpec::Core::Configuration#alias_it_should_behave_like_to. --- spec/spec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 52a97d1..203a3ec 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -20,7 +20,7 @@ Sham.define do end RSpec.configure do |config| - config.alias_it_behaves_like_to :it_has_behavior, 'has behavior' + config.alias_it_should_behave_like_to :it_has_behavior, 'has behavior' config.before(:suite) do puts '=' * 80