require'spec_helper'describeRequestAwareEntitydosubjectdoClass.new.include(described_class).newendit'includes URL helpers'doexpect(subject).torespond_to(:namespace_project_path)endit'includes method for checking abilities'doexpect(subject).torespond_to(:can?)endit'fetches request from options'doexpect(subject).toreceive(:options)