Sha256: a0bfcb2bf56fd4097bc47808cd563d95d648e1b8511341870143ef14cbd8e9be
Contents?: true
Size: 612 Bytes
Versions: 10
Compression:
Stored size: 612 Bytes
Contents
require 'rails_helper' module Dorsale RSpec.describe "dorsale/addresses/show", :type => :view do before(:each) do @address = assign(:address, Address.create!( :street => "Street", :street_bis => "Street Bis", :city => "City", :zip => "Zip", :country => "Country" )) end it "renders attributes in <p>" do render expect(rendered).to match(/Street/) expect(rendered).to match(/Street Bis/) expect(rendered).to match(/City/) expect(rendered).to match(/Zip/) expect(rendered).to match(/Country/) end end end
Version data entries
10 entries across 10 versions & 1 rubygems