rspec test integration