Remove of deprecated rspec-mocks methods

The "stub" syntax in rspec-mocks was replaced with "allow" syntax in RSpec 3.