moving require to spec_helper