Network and first signature collection prototyping

This commit is contained in:
2017-12-17 11:21:09 +01:00
parent 58a576e011
commit f0b34f96ff
35 changed files with 2400 additions and 92 deletions
@@ -0,0 +1,18 @@
require 'rails_helper'
RSpec.describe "network/signature_collections/show", type: :view do
before(:each) do
@network_signature_collection = assign(:network_signature_collection, Network::SignatureCollection.create!(
:location_name => "Location Name",
:location_zip => 2,
:location_address => "Location Address"
))
end
it "renders attributes in <p>" do
render
expect(rendered).to match(/Location Name/)
expect(rendered).to match(/2/)
expect(rendered).to match(/Location Address/)
end
end