Refactored RSpec Integration Test