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.
This commit is contained in:
parent
53ef01b9e6
commit
8501b983d6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue