Sha256: 800a4db3a0fa9ef45ed07dc477a4a1e1ccb2b23b7655369a5bad4fee0dac6653
Contents?: true
Size: 547 Bytes
Versions: 16
Compression:
Stored size: 547 Bytes
Contents
require 'rails_helper' module CustomerVault RSpec.describe "customer_vault/corporations/show", :type => :view do before(:each) do @corporation = assign(:corporation, Corporation.create!( :name => "Name", :email => "Email", :phone => "Phone", :fax => "Fax" )) end it "renders attributes in <p>" do render expect(rendered).to match(/Name/) expect(rendered).to match(/Email/) expect(rendered).to match(/Phone/) expect(rendered).to match(/Fax/) end end end
Version data entries
16 entries across 16 versions & 1 rubygems