Refactored RSpec.