demarches-normaliennes/spec/helpers/procedure_helper_spec.rb

10 lines
259 B
Ruby
Raw Normal View History

2018-12-27 13:29:39 +01:00
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