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

Version Path
adherent-0.3.13 spec/views/adherent/payments/new.html.haml_spec.rb
adherent-0.3.12 spec/views/adherent/payments/new.html.haml_spec.rb
adherent-0.3.11 spec/views/adherent/payments/new.html.haml_spec.rb
adherent-0.3.10 spec/views/adherent/payments/new.html.haml_spec.rb
adherent-0.3.9 spec/views/adherent/payments/new.html.haml_spec.rb
adherent-0.3.7 spec/views/adherent/payments/new.html.haml_spec.rb
adherent-0.3.6 spec/views/adherent/payments/new.html.haml_spec.rb
adherent-0.3.5 spec/views/adherent/payments/new.html.haml_spec.rb
adherent-0.3.4 spec/views/adherent/payments/new.html.haml_spec.rb
adherent-0.3.3 spec/views/adherent/payments/new.html.haml_spec.rb
adherent-0.3.2 spec/views/adherent/payments/new.html.haml_spec.rb
adherent-0.3.1 spec/views/adherent/payments/new.html.haml_spec.rb
adherent-0.3.0 spec/views/adherent/payments/new.html.haml_spec.rb
adherent-0.2.9 spec/views/adherent/payments/new.html.haml_spec.rb
adherent-0.2.8 spec/views/adherent/payments/new.html.haml_spec.rb
adherent-0.2.7 spec/views/adherent/payments/new.html.haml_spec.rb
adherent-0.2.6 spec/views/adherent/payments/new.html.haml_spec.rb
adherent-0.2.5 spec/views/adherent/payments/new.html.haml_spec.rb
adherent-0.2.4 spec/views/adherent/payments/new.html.haml_spec.rb
adherent-0.2.3 spec/views/adherent/payments/new.html.haml_spec.rb