Sha256: 55018fdce5d71b15d3dec1a67fc4facb12a630336216c739f9a98c9ff5257e60
Contents?: true
Size: 487 Bytes
Versions: 29
Compression:
Stored size: 487 Bytes
Contents
require 'rails_helper' describe "adherent/payments/new", :type => :view do # @routes = Adherent::Engine.routes before(:each) do assign(:payment, double(Adherent::Payment)) assign(:member, double(Adherent::Member, name:'Dupont', forname:'Jules')) # allow(view).to receive(:member_payments_path).and_return 'bonjour' # ceci ne marche pas # allow(view).to receive(:icon_to).and_return 'bonjour' end it 'rend la vue' do # render end end
Version data entries
29 entries across 29 versions & 1 rubygems