require 'spec_helper' require "guard_helpers/file_helper" module Mod include ::GuardHelpers::FileHelper end describe "RoHelper" do let(:o) do Mod end before do fix 'try' RoFaker.f "origin/ex.erb.ogv" end it "#select_file" do result = o.send(:"select_file", "ex.erb") expect(result).to have_value end end