Add guard for rspec