RSpec.configure do |config| config.order = 'random' config.expect_with(:rspec){ |c| c.syntax = :expect } config.mock_with(:rspec){ |c| c.syntax = :expect } end