demarches-normaliennes/spec/helpers/procedure_helper_spec.rb
2019-01-03 12:08:25 +01:00

9 lines
259 B
Ruby

RSpec.describe ProcedureHelper, type: :helper do
let(:procedure) { create(:procedure) }
describe ".logo_img" do
subject { logo_img(procedure) }
it { is_expected.to match(/#{ActionController::Base.helpers.image_url("marianne.svg")}/) }
end
end