require File.join(File.dirname(File.dirname(File.dirname(File.expand_path(__FILE__)))), 'spec_helper') require File.join(File.dirname(File.dirname(File.dirname(File.dirname(File.expand_path(__FILE__))))), 'lib', 'reek', 'smells', 'irresponsible_module') require File.join(File.dirname(File.expand_path(__FILE__)), 'smell_detector_shared') include Reek::Smells describe IrresponsibleModule do before(:each) do @bad_module_name = 'WrongUn' @detector = IrresponsibleModule.new('yoof') end it_should_behave_like 'SmellDetector' it "does not report a class having a comment" do src = <