magic whith link and rspec