Sha256: b0b95d4639cd695c5b4ed33eb9de36ef0a4d0f672325e07ee817deadaf8de013
Contents?: true
Size: 278 Bytes
Versions: 15
Compression:
Stored size: 278 Bytes
Contents
require 'rails_helper' RSpec.describe "categories/show", :type => :view do before(:each) do @category = assign(:category, Category.create!( :name => "Name" )) end it "renders attributes in <p>" do render expect(rendered).to match(/Name/) end end
Version data entries
15 entries across 15 versions & 1 rubygems